[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-commit
Subject:    [Rt-commit] [svn] r1941 - in rt/branches/3.3-TESTING: .
From:       jesse () pallas ! eruditorum ! org
Date:       2004-11-27 6:38:00
Message-ID: 20041127063800.BE9BF84C01E () pallas ! eruditorum ! org
[Download RAW message or body]

Author: jesse
Date: Sat Nov 27 01:38:00 2004
New Revision: 1941

Modified:
   rt/branches/3.3-TESTING/   (props changed)
   rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Row
   rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
   rt/branches/3.3-TESTING/lib/RT/Record.pm
Log:
 r9414@tinbook:  jesse | 2004-11-27T06:29:04.667691Z
 Multiple fixes to search result display


Modified: rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Row
==============================================================================
--- rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Row	(original)
+++ rt/branches/3.3-TESTING/html/Elements/CollectionAsTable/Row	Sat Nov 27 01:38:00 2004
@@ -58,7 +58,7 @@
 foreach my $column (@Format) {
     if ( $column->{title} eq 'NEWLINE' ) {
 	while ($item < $maxitems) {
-	    $m->out('<td class="collection-as-table">>&nbsp;</td>\n');
+	    $m->out(qq{<td class="collection-as-table">&nbsp;</td>\n});
 	    $item++;
 	}
 	$item = 0;

Modified: rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap
==============================================================================
--- rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap	(original)
+++ rt/branches/3.3-TESTING/html/Elements/RT__Ticket/ColumnMap	Sat Nov 27 01:38:00 2004
@@ -94,6 +94,7 @@
     my $method = shift;
 
     my $mode            = $RT::Ticket::LINKTYPEMAP{$method}{Mode};
+    my $type            = $RT::Ticket::LINKTYPEMAP{$method}{Type};
     my $mode_uri        = $mode.'URI';
     my $mode_is_local   = $mode.'IsLocal';
     my $local_type      = 'Local'.$mode;
@@ -105,7 +106,7 @@
             \'">',
             ( $_->$mode_is_local ? $_->$local_type : $_->$mode ),
             \'</A><BR>',
-        } @{ $_[0]->$method->ItemsArrayRef }
+        } @{ $_[0]->Links($mode,$type)->ItemsArrayRef }
     }
 }
 
@@ -232,7 +233,7 @@
         value     => sub { 
 	    my $date = $_[0]->DueObj;
 	    if ($date && $date->Unix > 0 && $date->Unix < time()) {
-		return \'<span class="overdue">' . $date->AgeAsString . \'</span>';
+		return (\'<span class="overdue">' , $date->AgeAsString , \'</span>');
 	    } else {
 		return $date->AgeAsString;
 	    }

Modified: rt/branches/3.3-TESTING/lib/RT/Record.pm
==============================================================================
--- rt/branches/3.3-TESTING/lib/RT/Record.pm	(original)
+++ rt/branches/3.3-TESTING/lib/RT/Record.pm	Sat Nov 27 01:38:00 2004
@@ -1148,6 +1148,14 @@
 
 # {{{ sub _Links 
 
+=head2 Links DIRECTION TYPE 
+
+return links to/from this object. 
+
+=cut
+
+*Links = \&_Links;
+
 sub _Links {
     my $self = shift;
 
_______________________________________________
Rt-commit mailing list
Rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic