[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.6-338-g56e15b4
Shawn Moore
sartak at bestpractical.com
Thu Dec 2 13:48:30 EST 2010
The branch, 3.9-trunk has been updated
via 56e15b42418ffd2aa99e13ee19de91de050afadf (commit)
from 3dd15fde1c90d539a2918a7a291257d8e6655079 (commit)
Summary of changes:
share/html/Elements/Tabs | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit 56e15b42418ffd2aa99e13ee19de91de050afadf
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Thu Dec 2 13:47:11 2010 -0500
Use the query_string function we already have
diff --git a/share/html/Elements/Tabs b/share/html/Elements/Tabs
index 9178eba..4179c26 100755
--- a/share/html/Elements/Tabs
+++ b/share/html/Elements/Tabs
@@ -517,17 +517,13 @@ if ( $request_path !~ qr{^/SelfService/} ) {
if ($request_path =~ qr{^/Search/Results.html}
&& #XXX TODO better abstraction
$session{'CurrentUser'}->HasRight( Right => 'SuperUser', Object => $RT::System )) {
-
- my $uri = URI->new;
- $uri->query_form(
+ my $shred_args = $query_string->(
search => 1,
plugin => 'Tickets',
'Tickets:query' => $query_args{'Query'},
'Tickets:limit' => $query_args{'Rows'},
);
- my $shred_args = $uri->query_form;
-
$current_search_menu->child( 'shredder' => title => loc('Shredder'),
path => 'Admin/Tools/Shredder/?' . $shred_args);
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list