summaryrefslogtreecommitdiff
path: root/rt/html/Elements/RT__Ticket/ColumnMap
diff options
context:
space:
mode:
authorivan <ivan>2006-10-17 08:51:01 +0000
committerivan <ivan>2006-10-17 08:51:01 +0000
commitc8cccb4a92adceb943c635fe62dad0d034462ce0 (patch)
tree0a33472e21f5174091e49e245f5bd68a235d4d50 /rt/html/Elements/RT__Ticket/ColumnMap
parentacd0f14d8f619055b4292c178b14682974fb0099 (diff)
parenta513c0bef534d05f03c1242831b6f3be19b97dae (diff)
This commit was generated by cvs2svn to compensate for changes in r4888,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'rt/html/Elements/RT__Ticket/ColumnMap')
-rw-r--r--rt/html/Elements/RT__Ticket/ColumnMap3
1 files changed, 2 insertions, 1 deletions
diff --git a/rt/html/Elements/RT__Ticket/ColumnMap b/rt/html/Elements/RT__Ticket/ColumnMap
index dade91494..80e3c693c 100644
--- a/rt/html/Elements/RT__Ticket/ColumnMap
+++ b/rt/html/Elements/RT__Ticket/ColumnMap
@@ -95,6 +95,7 @@ sub LinkCallback {
my $mode = $RT::Ticket::LINKTYPEMAP{$method}{Mode};
my $type = $RT::Ticket::LINKTYPEMAP{$method}{Type};
+ my $other_mode = ($mode eq "Target" ? "Base" : "Target");
my $mode_uri = $mode.'URI';
my $local_type = 'Local'.$mode;
@@ -105,7 +106,7 @@ sub LinkCallback {
\'">',
( $_->$mode_uri->IsLocal ? $_->$local_type : $_->$mode ),
\'</A><BR>',
- } @{ $_[0]->Links($mode,$type)->ItemsArrayRef }
+ } @{ $_[0]->Links($other_mode,$type)->ItemsArrayRef }
}
}