[Rt-commit] r6498 - rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Search

clkao at bestpractical.com clkao at bestpractical.com
Wed Nov 22 06:57:24 EST 2006


Author: clkao
Date: Wed Nov 22 06:57:24 2006
New Revision: 6498

Modified:
   rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Search/Chart.html

Log:
Must save searches on RT::System with 'Search - ' convention.

Modified: rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Search/Chart.html
==============================================================================
--- rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Search/Chart.html	(original)
+++ rt/branches/3.6-EXPERIMENTAL-LONDRES/html/Search/Chart.html	Wed Nov 22 06:57:24 2006
@@ -68,8 +68,9 @@
 
         # Find out if we're saving on the user, or a group
         my $container_object = _load_container_object( $obj_type, $obj_id );
+        my $name = $obj_type eq 'RT::System' ? "Search - $Description" : 'SavedSearch';
         my ( $search_id, $search_msg ) = $container_object->AddAttribute(
-            Name        => 'SavedSearch',
+            Name        => $name,
             Description => $Description,
             Content     => {
                 Query            => $Query,


More information about the Rt-commit mailing list