[Rt-commit] r16024 - in rt/3.8/trunk: .
elacour at bestpractical.com
elacour at bestpractical.com
Thu Sep 18 10:44:26 EDT 2008
Author: elacour
Date: Thu Sep 18 10:44:24 2008
New Revision: 16024
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/share/html/Elements/QueueSummary
Log:
r10745 at datura: manu | 2008-09-18 16:44:10 +0200
Use ActiveStatus instead of hard coded status.
Modified: rt/3.8/trunk/share/html/Elements/QueueSummary
==============================================================================
--- rt/3.8/trunk/share/html/Elements/QueueSummary (original)
+++ rt/3.8/trunk/share/html/Elements/QueueSummary Thu Sep 18 10:44:24 2008
@@ -58,7 +58,7 @@
% my $name = $queue->{Name};
% $name =~ s/'/\\'/g;
% my $queue_cond = "Queue = '$name' AND ";
-% my $all_q = $queue_cond . "(Status = 'open' OR Status = 'new' OR Status = 'stalled')";
+% my $all_q = $queue_cond . '(' . join( " OR ", map "Status = '$_'", RT::Queue->ActiveStatusArray()) . ')';
<tr class="<% $i%2 ? 'oddline' : 'evenline'%>" >
<td><a href="<% RT->Config->Get('WebPath') %>/Search/Results.html?Query=<% $all_q |u,n %>" title="<% $queue->{Description} %>"><% $queue->{Name} %></a></td>
% for my $condition (@$conditions) {
More information about the Rt-commit
mailing list