[Rt-commit] rt branch, admin_ui, updated. c3bdb22943dff621b282d2cb0dd3b63c867dafd7
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Jan 14 00:08:17 EST 2010
The branch, admin_ui has been updated
via c3bdb22943dff621b282d2cb0dd3b63c867dafd7 (commit)
from ed1210f2cd0248c86ba37c5d854810b945dd8682 (commit)
Summary of changes:
lib/RT/Dispatcher.pm | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit c3bdb22943dff621b282d2cb0dd3b63c867dafd7
Author: sunnavy <sunnavy at bestpractical.com>
Date: Thu Jan 14 13:06:27 2010 +0800
get queue info for /admin/queues/templates
diff --git a/lib/RT/Dispatcher.pm b/lib/RT/Dispatcher.pm
index 3f0f430..dd403d3 100644
--- a/lib/RT/Dispatcher.pm
+++ b/lib/RT/Dispatcher.pm
@@ -425,7 +425,7 @@ before '/SelfService' => run {
before 'admin/' => run {
- my ( $id, $lookup_type );
+ my ( $id, $lookup_type, $queue );
my @monikers = qw/
global_select_cfs
user_edit_memberships user_select_cfs user_config_my_rt user_select_private_key
@@ -451,11 +451,16 @@ before 'admin/' => run {
if ( $action->moniker =~ qr/select_cfs/ ) {
$lookup_type = $action->argument('lookup_type');
}
+
+ if ( Jifty->web->request->path =~ m{admin/queues/templates} ) {
+ $queue = $action->argument('queue');
+ }
}
}
Jifty->web->request->argument( id => $id ) if $id;
Jifty->web->request->argument( lookup_type => $lookup_type ) if $lookup_type;
+ Jifty->web->request->argument( queue => $queue ) if $queue;
};
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list