Fix pagination error on subfield structure editor

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Ryan Higgins 2008-05-25 01:21:17 -05:00 committed by Joshua Ferraro
parent f924ff5fe7
commit 1aa00400c4
1 changed files with 2 additions and 2 deletions

View File

@ -559,12 +559,12 @@ else { # DEFAULT
if ( $offset > 0 ) {
my $prevpage = $offset - $pagesize;
$template->param(
prev => "<a href=\"$script_name?offset=$prevpage\">" );
prev => "<a href=\"$script_name?offset=$prevpage\&tagfield=$tagfield\&frameworkcode=$frameworkcode \">" );
}
if ( $offset + $pagesize < $count ) {
my $nextpage = $offset + $pagesize;
$template->param(
next => "<a href=\"$script_name?offset=$nextpage\">" );
next => "<a href=\"$script_name?offset=$nextpage\&tagfield=$tagfield\&frameworkcode=$frameworkcode \">" );
}
} #---- END $OP eq DEFAULT