[Rt-commit] r10173 -
rt/branches/3.999-DANGEROUS/lib/RT/Shredder/Plugin/Base
jesse at bestpractical.com
jesse at bestpractical.com
Fri Dec 28 01:56:05 EST 2007
Author: jesse
Date: Fri Dec 28 01:56:05 2007
New Revision: 10173
Modified:
rt/branches/3.999-DANGEROUS/lib/RT/Shredder/Plugin/Base/Search.pm
Log:
* Forward port a test fix from 3.7 trunk
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Shredder/Plugin/Base/Search.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Shredder/Plugin/Base/Search.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Shredder/Plugin/Base/Search.pm Fri Dec 28 01:56:05 2007
@@ -123,11 +123,10 @@
=cut
use constant PAGE_SIZE => 100;
-my $page = 1;
sub FetchNext {
my ($self, $objs, $init) = @_;
if ( $init ) {
- $objs->set_page_info(per_page => PAGE_SIZE, current_page => $page++);
+ $objs->set_page_info(per_page => PAGE_SIZE, current_page => 1);
return;
}
More information about the Rt-commit
mailing list