[Rt-commit] r4187 - in rt/branches/CHALDEA-EXPERIMENTAL: . html/Elements/RT__Ticket

jesse at bestpractical.com jesse at bestpractical.com
Wed Nov 30 16:28:55 EST 2005


Author: jesse
Date: Wed Nov 30 16:28:55 2005
New Revision: 4187

Modified:
   rt/branches/CHALDEA-EXPERIMENTAL/   (props changed)
   rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap
Log:
 r19604 at truegrounds:  jesse | 2005-11-30 16:07:22 -0500
  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/CHALDEA-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap	(original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/html/Elements/RT__Ticket/ColumnMap	Wed Nov 30 16:28:55 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