X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FAdmin%2FQueues%2Findex.html;h=672b4fac18d5843d5f5930fca9350aa91df47dae;hb=31f3763747b82764bb019cfab5b2a2945fc9a99d;hp=b5a2bb4f24916a604ec6fab65a75f6c1ed377428;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/rt/share/html/Admin/Queues/index.html b/rt/share/html/Admin/Queues/index.html index b5a2bb4f2..672b4fac1 100755 --- a/rt/share/html/Admin/Queues/index.html +++ b/rt/share/html/Admin/Queues/index.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -46,9 +46,7 @@ %# %# END BPS TAGGED BLOCK }}} <& /Admin/Elements/Header, Title => loc("Admin queues") &> -<& /Admin/Elements/QueueTabs, current_tab => 'Admin/Queues/', - current_subtab => 'Admin/Queues/', - Title => loc("Admin queues") &> +<& /Elements/Tabs &> @@ -60,6 +58,7 @@ <& /Elements/CollectionList, OrderBy => 'Name', Order => 'ASC', + Rows => 50, %ARGS, Format => $Format, Collection => $queues, @@ -91,7 +90,7 @@ <%INIT> -my $queues = new RT::Queues($session{'CurrentUser'}); +my $queues = RT::Queues->new($session{'CurrentUser'}); $queues->FindAllRows if $FindDisabledQueues; my ($caption); @@ -104,6 +103,8 @@ if ( defined $QueueString && length $QueueString ) { OPERATOR => $QueueOp, VALUE => $QueueString, ); + RT::Interface::Web::Redirect(RT->Config->Get('WebURL')."Admin/Queues/Modify.html?id=".$queues->First->id) + if $queues->Count == 1; } else { $queues->UnLimit; $caption = $FindDisabledQueues