[Rt-commit] r18050 - in rt/3.999/branches/merge_to_3.8.2: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Jan 29 09:43:51 EST 2009


Author: sunnavy
Date: Thu Jan 29 09:43:49 2009
New Revision: 18050

Modified:
   rt/3.999/branches/merge_to_3.8.2/   (props changed)
   rt/3.999/branches/merge_to_3.8.2/share/html/Elements/QueueSummary

Log:
 r19276 at sunnavys-mb:  sunnavy | 2009-01-29 22:27:33 +0800
 merged  share/html/Elements/QueueSummary


Modified: rt/3.999/branches/merge_to_3.8.2/share/html/Elements/QueueSummary
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/Elements/QueueSummary	(original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/Elements/QueueSummary	Thu Jan 29 09:43:49 2009
@@ -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::Model::Queue->active_status_array()) . ')';
 <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