[Rt-commit] [svn] r974 - in rt/branches/rt-3.1: . lib/RT
robert at pallas.eruditorum.org
robert at pallas.eruditorum.org
Fri May 28 00:48:02 EDT 2004
Author: robert
Date: Fri May 28 00:48:02 2004
New Revision: 974
Modified:
rt/branches/rt-3.1/ (props changed)
rt/branches/rt-3.1/lib/RT/Tickets_Overlay_SQL.pm
Log:
----------------------------------------------------------------------
r552 at bear: rspier | 2004-05-28T04:46:48.454586Z
[fsck.com #5639] SearchBuilder doesn't properly paginate initial searc\
hes
----------------------------------------------------------------------
Modified: rt/branches/rt-3.1/lib/RT/Tickets_Overlay_SQL.pm
==============================================================================
--- rt/branches/rt-3.1/lib/RT/Tickets_Overlay_SQL.pm (original)
+++ rt/branches/rt-3.1/lib/RT/Tickets_Overlay_SQL.pm Fri May 28 00:48:02 2004
@@ -442,7 +442,11 @@
sub FromSQL {
my ($self,$query) = @_;
- $self->CleanSlate;
+ {
+ # preserve first_row and show_rows across the CleanSlate
+ local($self->{'first_row'}, $self->{'show_rows'});
+ $self->CleanSlate;
+ }
$self->_InitSQL();
return (1,$self->loc("No Query")) unless $query;
More information about the Rt-commit
mailing list