[Rt-commit] r11838 - rt/branches/3.8-TESTING/lib/RT/Graph

ruz at bestpractical.com ruz at bestpractical.com
Tue Apr 22 22:44:01 EDT 2008


Author: ruz
Date: Tue Apr 22 22:44:00 2008
New Revision: 11838

Modified:
   rt/branches/3.8-TESTING/lib/RT/Graph/Tickets.pm

Log:
* show not leading links using the current depth + 1 so
  they will get correct properties

Modified: rt/branches/3.8-TESTING/lib/RT/Graph/Tickets.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Graph/Tickets.pm	(original)
+++ rt/branches/3.8-TESTING/lib/RT/Graph/Tickets.pm	Tue Apr 22 22:44:00 2008
@@ -308,7 +308,8 @@
                 Ticket => $next,
                 $type eq $args{'LeadingLink'}
                     ? ( CurrentDepth => $args{'CurrentDepth'} + 1 )
-                    : ( MaxDepth => 1, CurrentDepth => 1 ),
+                    : ( MaxDepth => $args{'CurrentDepth'} + 1,
+                        CurrentDepth => $args{'CurrentDepth'} + 1 ),
             );
 
             my $desc;


More information about the Rt-commit mailing list