[Rt-commit] r18207 - in rt/3.8/trunk: share/html/Elements/RT__Ticket

sartak at bestpractical.com sartak at bestpractical.com
Wed Feb 4 15:02:25 EST 2009


Author: sartak
Date: Wed Feb  4 15:02:25 2009
New Revision: 18207

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/share/html/Elements/RT__Ticket/ColumnMap

Log:
 r79688 at onn:  sartak | 2009-02-04 15:00:42 -0500
 First cut of linking the "(pending N other tickets)" display to a search; still needs to limit to active statuses


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:02:25 2009
@@ -113,7 +113,10 @@
                     return \'<em>', loc('(pending approval)'), \'</em>';
                 }
                 else {
-                    return \'<em>', loc('(pending [quant,_1,other ticket])',$count), \'</em>';
+                    my $Query = "DependedOnBy = " . $Ticket->id;
+                    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>';
                 }
             }
             else {


More information about the Rt-commit mailing list