[Rt-commit] r6511 - rt/branches/3.6-EXPERIMENTAL-LONDRES/lib/RT

clkao at bestpractical.com clkao at bestpractical.com
Thu Nov 23 06:28:14 EST 2006


Author: clkao
Date: Thu Nov 23 06:28:14 2006
New Revision: 6511

Modified:
   rt/branches/3.6-EXPERIMENTAL-LONDRES/lib/RT/SavedSearch.pm

Log:
Save searches in SaveSearch, not "Search - ..." for RT::System.
Note that users must have ShowSavedSearch for the things they have
on portlet to work.


Modified: rt/branches/3.6-EXPERIMENTAL-LONDRES/lib/RT/SavedSearch.pm
==============================================================================
--- rt/branches/3.6-EXPERIMENTAL-LONDRES/lib/RT/SavedSearch.pm	(original)
+++ rt/branches/3.6-EXPERIMENTAL-LONDRES/lib/RT/SavedSearch.pm	Thu Nov 23 06:28:14 2006
@@ -160,9 +160,8 @@
         );
     }
 
-    my $attr_name = $object->isa('RT::System') ? "Search - $name" : 'SavedSearch';
     my ( $att_id, $att_msg ) = $object->AddAttribute(
-        'Name'        => $attr_name,
+        'Name'        => 'SavedSearch',
         'Description' => $name,
         'Content'     => \%params
     );


More information about the Rt-commit mailing list