[Rt-commit] r11858 - rt/branches/3.8-TESTING/html/Elements

ruz at bestpractical.com ruz at bestpractical.com
Wed Apr 23 17:40:18 EDT 2008


Author: ruz
Date: Wed Apr 23 17:40:18 2008
New Revision: 11858

Modified:
   rt/branches/3.8-TESTING/html/Elements/CollectionList
   rt/branches/3.8-TESTING/html/Elements/TicketList

Log:
* return back optimization Jesse reverted

Modified: rt/branches/3.8-TESTING/html/Elements/CollectionList
==============================================================================
--- rt/branches/3.8-TESTING/html/Elements/CollectionList	(original)
+++ rt/branches/3.8-TESTING/html/Elements/CollectionList	Wed Apr 23 17:40:18 2008
@@ -64,7 +64,7 @@
 % }
 
 <%PERL>
-my $i = 0;
+my ($i, $column_map) = (0, {});
 while ( my $record = $Collection->Next ) {
     # Every ten rows, flush the buffer and put something on the page.
     $m->flush_buffer unless ++$i % 10;
@@ -73,6 +73,7 @@
         Format => \@Format,
         record => $record,
         maxitems => $maxitems,
+        ColumnMap => $column_map,
         Class     => $Class,
     );
 }

Modified: rt/branches/3.8-TESTING/html/Elements/TicketList
==============================================================================
--- rt/branches/3.8-TESTING/html/Elements/TicketList	(original)
+++ rt/branches/3.8-TESTING/html/Elements/TicketList	Wed Apr 23 17:40:18 2008
@@ -61,7 +61,7 @@
     maxitems => $maxitems &> 
 % }
 <%PERL>
-my $i = 0;
+my ($i, $column_map) = (0, {});
 while ( my $record = $Collection->Next ) {
     $i++;
     # Every ten rows, flush the buffer and put something on the page.
@@ -71,6 +71,7 @@
         Format => \@Format,
         record => $record,
         maxitems => $maxitems,
+        ColumnMap => $column_map,
     );
 }
 </%PERL>


More information about the Rt-commit mailing list