[rt-users] number tickets returned by a search?
Phil Homewood
pdh at snapgear.com
Sun Oct 6 22:21:51 EDT 2002
Phil Homewood wrote:
> This patch (which is independent of the previous one) fixes
> that, and should allow the commented out "Goto Page" box on
> Search/Listing.html to work as well.
It's just not my day. Here's the forgotten patch.
-------------- next part --------------
Index: lib/RT/Interface/Web.pm
===================================================================
RCS file: /cvs/local/rt/lib/RT/Interface/Web.pm,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 Web.pm
--- lib/RT/Interface/Web.pm 15 Jul 2002 01:25:46 -0000 1.1.1.4
+++ lib/RT/Interface/Web.pm 7 Oct 2002 01:53:15 -0000
@@ -485,6 +485,9 @@
elsif ( $args{ARGS}->{'GotoPage'} eq 'Prev' ) {
$session{'tickets'}->PrevPage;
}
+ elsif ( $args{ARGS}->{'GotoPage'} > 0 ) {
+ $session{'tickets'}->GotoPage( $args{ARGS}->{'GotoPage'} - 1 );
+ }
# }}}
More information about the rt-users
mailing list