[Rt-commit] r2309 - rt/branches/QUEBEC-EXPERIMENTAL/html/Search

clkao at bestpractical.com clkao at bestpractical.com
Mon Mar 7 13:30:20 EST 2005


Author: clkao
Date: Mon Mar  7 13:30:20 2005
New Revision: 2309

Modified:
   rt/branches/QUEBEC-EXPERIMENTAL/html/Search/Build.html
Log:
Saving search to RT::System now works.

Modified: rt/branches/QUEBEC-EXPERIMENTAL/html/Search/Build.html
==============================================================================
--- rt/branches/QUEBEC-EXPERIMENTAL/html/Search/Build.html	(original)
+++ rt/branches/QUEBEC-EXPERIMENTAL/html/Search/Build.html	Mon Mar  7 13:30:20 2005
@@ -782,10 +782,10 @@
         my $container_object = _load_container_object ($obj_type, $obj_id);
 
         if ( $container_object->id ) {
-
+	    my $name = $obj_type eq 'RT::System' ? "Search - $Description" : 'SavedSearch';
             # If we got one or the other, add the saerch
             my ( $search_id, $search_msg ) = $container_object->AddAttribute(
-                Name        => 'SavedSearch',
+                Name        => $name,
                 Description => $Description,
                 Content     => {
                     Format      => $Format,


More information about the Rt-commit mailing list