[Rt-commit] r4163 - in rt/branches/QUEBEC-EXPERIMENTAL: .
html/Elements/RT__Ticket
jesse at bestpractical.com
jesse at bestpractical.com
Wed Nov 30 15:59:08 EST 2005
Author: jesse
Date: Wed Nov 30 15:59:08 2005
New Revision: 4163
Modified:
rt/branches/QUEBEC-EXPERIMENTAL/ (props changed)
rt/branches/QUEBEC-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap
Log:
r19561 at truegrounds: jesse | 2005-11-30 15:29:35 -0500
r18877 at truegrounds: jesse | 2005-11-14 12:37:37 -0500
RT-Ticket: 7087
RT-Status: resolved
RT-Update: correspond
Displayed linked tickets in search results were inverted
Modified: rt/branches/QUEBEC-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap
==============================================================================
--- rt/branches/QUEBEC-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap (original)
+++ rt/branches/QUEBEC-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap Wed Nov 30 15:59:08 2005
@@ -96,17 +96,17 @@
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 = $other_mode.'URI';
- my $local_type = 'Local'.$other_mode;
+ my $mode_uri = $mode.'URI';
+ my $local_type = 'Local'.$mode;
return sub {
map {
\'<A HREF="',
$_->$mode_uri->Resolver->HREF,
\'">',
- ( $_->$mode_uri->IsLocal ? $_->$local_type : $_->$other_mode ),
+ ( $_->$mode_uri->IsLocal ? $_->$local_type : $_->$mode ),
\'</A><BR>',
- } @{ $_[0]->Links($mode,$type)->ItemsArrayRef }
+ } @{ $_[0]->Links($other_mode,$type)->ItemsArrayRef }
}
}
More information about the Rt-commit
mailing list