[Rt-commit] r18208 - in rt/3.8/trunk: share/html/Elements/RT__Ticket
sartak at bestpractical.com
sartak at bestpractical.com
Wed Feb 4 15:11:21 EST 2009
Author: sartak
Date: Wed Feb 4 15:11:21 2009
New Revision: 18208
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/share/html/Elements/RT__Ticket/ColumnMap
Log:
r79697 at onn: sartak | 2009-02-04 15:11:03 -0500
Limit the pending searches to active tickets only
Modified: rt/3.8/trunk/share/html/Elements/RT__Ticket/ColumnMap
==============================================================================
--- rt/3.8/trunk/share/html/Elements/RT__Ticket/ColumnMap (original)
+++ rt/3.8/trunk/share/html/Elements/RT__Ticket/ColumnMap Wed Feb 4 15:11:21 2009
@@ -114,6 +114,8 @@
}
else {
my $Query = "DependedOnBy = " . $Ticket->id;
+ $Query .= " AND (" . join(" OR ", map { "Status = '$_'" } RT::Queue->ActiveStatusArray) . ")";
+
my $SearchURL = RT->Config->Get('WebPath') . '/Search/Results.html?' . $m->comp('/Elements/QueryString', Query => $Query);
return \'<a href="',$SearchURL,\'">', loc('(pending [quant,_1,other ticket])',$count), \'</a>';
More information about the Rt-commit
mailing list