X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FAdmin%2FQueues%2Findex.html;h=1b817b3308c97d73e667c350dda324b4ca05956c;hb=740834abbf5434a60a7ded2c0b48430420e995a9;hp=c7a4701b2277060e35b84322c4d1dd62af75c54f;hpb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7;p=freeside.git diff --git a/rt/share/html/Admin/Queues/index.html b/rt/share/html/Admin/Queues/index.html index c7a4701b2..1b817b330 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-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 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 => ''