X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FAdmin%2FQueues%2Findex.html;h=4fc1db49916e4e9f2a7ed06c8f2ce0ea139ebbaa;hb=7322f2afedcc2f427e997d1535a503613a83f088;hp=7f267021bc6eaada0253e4f4a527bdb3404fe430;hpb=3d0a1bb06b895c5be6e3f0517d355442a6b1e125;p=freeside.git diff --git a/rt/share/html/Admin/Queues/index.html b/rt/share/html/Admin/Queues/index.html index 7f267021b..4fc1db499 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-2013 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -48,9 +48,28 @@ <& /Admin/Elements/Header, Title => loc("Admin queues") &> <& /Elements/Tabs &> +

<%$caption%>

+
+% foreach my $field( qw(Format Rows Page Order OrderBy) ) { +% next unless defined $ARGS{ $field } && length $ARGS{ $field }; + +% } + + +<& /Elements/SelectMatch, Name => 'QueueOp', Default => $QueueOp &> + +
+ + /> + +
+
-

<%$caption%>

<&|/l&>Select a queue:

% unless ( $queues->Count ) { <&|/l&>No queues matching search criteria found. @@ -58,6 +77,7 @@ <& /Elements/CollectionList, OrderBy => 'Name', Order => 'ASC', + Rows => $Rows, %ARGS, Format => $Format, Collection => $queues, @@ -68,25 +88,6 @@ )], &> % } -
-% foreach my $field( qw(Format Rows Page Order OrderBy) ) { -% next unless defined $ARGS{ $field } && length $ARGS{ $field }; - -% } - - -<& /Elements/SelectMatch, Name => 'QueueOp', Default => $QueueOp &> - -
- - /> -<&|/l&>Include disabled queues in listing. -
-
<%INIT> my $queues = RT::Queues->new($session{'CurrentUser'}); @@ -112,6 +113,7 @@ if ( defined $QueueString && length $QueueString ) { } $Format ||= RT->Config->Get('AdminSearchResultFormat')->{'Queues'}; +my $Rows = RT->Config->Get('AdminSearchResultRows')->{'Queues'} || 50; <%ARGS> @@ -119,6 +121,6 @@ $FindDisabledQueues => 0 $Format => undef $QueueField => 'Name' -$QueueOp => '=' +$QueueOp => 'LIKE' $QueueString => ''