[Rt-commit] r6573 - in rt/branches/3.6-RELEASE: .

jesse at bestpractical.com jesse at bestpractical.com
Fri Dec 1 13:58:45 EST 2006


Author: jesse
Date: Fri Dec  1 13:58:44 2006
New Revision: 6573

Modified:
   rt/branches/3.6-RELEASE/   (props changed)
   rt/branches/3.6-RELEASE/lib/RT/SavedSearch.pm

Log:
 r45314 at pinglin (orig r6511):  clkao | 2006-11-23 06:28:14 -0500
 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-RELEASE/lib/RT/SavedSearch.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/SavedSearch.pm	(original)
+++ rt/branches/3.6-RELEASE/lib/RT/SavedSearch.pm	Fri Dec  1 13:58:44 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