Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
best-practical
rt
Commits
501c6be3
Commit
501c6be3
authored
Sep 04, 2014
by
Alex Vandiver
Browse files
Merge branch '4.2/graphviz-link-depth' into 4.2-trunk
parents
e1fbb34a
785fba4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
lib/RT/Graph/Tickets.pm
lib/RT/Graph/Tickets.pm
+6
-3
No files found.
lib/RT/Graph/Tickets.pm
View file @
501c6be3
...
...
@@ -299,9 +299,12 @@ sub TicketLinks {
}
$args
{'
Seen
'}
||=
{};
return
$args
{'
Graph
'}
if
$args
{'
Seen
'}{
$args
{'
Ticket
'}
->
id
}
++
;
$self
->
AddTicket
(
%args
);
if
(
$args
{'
Seen
'}{
$args
{'
Ticket
'}
->
id
}
&&
$args
{'
Seen
'}{
$args
{'
Ticket
'}
->
id
}
<=
$args
{'
CurrentDepth
'}
)
{
return
$args
{'
Graph
'};
}
elsif
(
!
defined
$args
{'
Seen
'}{
$args
{'
Ticket
'}
->
id
}
)
{
$self
->
AddTicket
(
%args
);
}
$args
{'
Seen
'}{
$args
{'
Ticket
'}
->
id
}
=
$args
{'
CurrentDepth
'};
return
$args
{'
Graph
'}
if
$args
{'
MaxDepth
'}
&&
$args
{'
CurrentDepth
'}
>=
$args
{'
MaxDepth
'};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment