[freeside-commits] freeside/rt/html/Elements TicketList, 1.1.1.2, 1.1.1.2.4.1

Ivan,,, ivan at wavetail.420.am
Wed Jun 20 15:33:25 PDT 2007


Update of /home/cvs/cvsroot/freeside/rt/html/Elements
In directory wavetail:/tmp/cvs-serv11310

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	TicketList 
Log Message:
add $RT::MyTicketsLength patch from spiritone, part of merging RT changes (#1661)

Index: TicketList
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/html/Elements/TicketList,v
retrieving revision 1.1.1.2
retrieving revision 1.1.1.2.4.1
diff -u -d -r1.1.1.2 -r1.1.1.2.4.1
--- TicketList	15 Oct 2005 09:10:10 -0000	1.1.1.2
+++ TicketList	20 Jun 2007 22:33:22 -0000	1.1.1.2.4.1
@@ -62,8 +62,10 @@
 %   my $i;
 %   while (my $record = $Collection->Next) {
 %   $i++;
-% # Every ten rows, flush the buffer and put something on the page.
-% $m->flush_buffer() unless ($i % 10);
+% # Every $RT::MyTicketsLength or ten rows, flush the buffer and put something
+% # on the page.
+% my $flushrows = $RT::MyTicketsLength || 10;
+% $m->flush_buffer() unless ($i % $flushrows);
 <&   /Elements/CollectionAsTable/Row, Format => \@Format, i => $i, record => $record, maxitems => $maxitems &>
 %   }
 



More information about the freeside-commits mailing list