[Rt-commit] r15598 - in rt/branches/3.999-DANGEROUS: share/html/Dashboards share/html/Elements

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Aug 28 05:38:37 EDT 2008


Author: sunnavy
Date: Thu Aug 28 05:38:37 2008
New Revision: 15598

Modified:
   rt/branches/3.999-DANGEROUS/   (props changed)
   rt/branches/3.999-DANGEROUS/share/html/Dashboards/Modify.html
   rt/branches/3.999-DANGEROUS/share/html/Elements/ShowSearch

Log:
 r16248 at sunnavys-mb:  sunnavy | 2008-08-28 17:35:59 +0800
 name fixes


Modified: rt/branches/3.999-DANGEROUS/share/html/Dashboards/Modify.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Dashboards/Modify.html	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Dashboards/Modify.html	Thu Aug 28 05:38:37 2008
@@ -150,7 +150,7 @@
     $ok || abort(loc("Couldn't delete dashboard %1: %2", $id, $msg));
 
     # put the user back into a useful place with a message
-    RT::Interface::Web::redirect(RT->config->get('WebURL')."Dashboards/index.html?Deleted=$id");
+    RT::Interface::Web::redirect(RT->config->get('WebURL')."Dashboards/index.html?deleted=$id");
 
 }
 </%INIT>

Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/ShowSearch
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/ShowSearch	(original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/ShowSearch	Thu Aug 28 05:38:37 2008
@@ -46,7 +46,7 @@
 %# 
 %# END BPS TAGGED BLOCK }}}
 <&|/Widgets/TitleBox,
-    title => _($search->description, $ProcessedSearchArg->{'Rows'}),
+    title => _($search->description, $ProcessedSearchArg->{'rows'}),
     title_href => $query_link_url.$query_string,
     titleright => $customize ? _('Edit') : '',
     titleright_href => $customize,
@@ -87,9 +87,9 @@
             saved_search_load => $saved_search );
     }
 } else {
-    ($search) = RT::System->new() ->attributes->named( 'Search - ' . $name );
+    ($search) = RT->system->attributes->named( 'Search - ' . $name );
     unless ( $search && $search->id ) {
-        my (@custom_searches) = RT::System->new()->attributes->named('saved_search');
+        my (@custom_searches) = RT->system->attributes->named('saved_search');
         foreach my $custom (@custom_searches) {
             if ($custom->description eq $name) { $search = $custom; last }
         }
@@ -109,7 +109,7 @@
 # orginal search's poperties
 $SearchArg ||= {};
 my $ProcessedSearchArg = $SearchArg;
-$ProcessedSearchArg = { %$SearchArg, %Override } if keys %Override;
+$ProcessedSearchArg = { %$SearchArg, %override } if keys %override;
 $m->callback(
     %ARGS,
     Callbackname  => 'modify_search',
@@ -137,7 +137,7 @@
 <%ARGS>
 $name          => undef
 $saved_search   => undef
-%Override      => ()
+%override      => ()
 $ignore_missing => undef
 $hideable      => 1
 </%ARGS>


More information about the Rt-commit mailing list