diff --git a/html-template/cmsdsearchresults.tmpl b/html-template/cmsdsearchresults.tmpl index 3ffb0f5145..f857d0bb08 100644 --- a/html-template/cmsdsearchresults.tmpl +++ b/html-template/cmsdsearchresults.tmpl @@ -12,7 +12,7 @@ -&startfrom=>Next Records +&startfrom=>Next Records
diff --git a/html-template/search.pl b/html-template/search.pl index 0fb067253b..09e2e19e17 100755 --- a/html-template/search.pl +++ b/html-template/search.pl @@ -16,7 +16,6 @@ my $startfrom=$query->param('startfrom'); my $dbh=&C4Connect; -print STDERR "SF: $startfrom\n"; my $template = HTML::Template->new(filename => $templatename, die_on_bad_params => 0); my @results; @@ -28,8 +27,9 @@ while (my $data=$sth->fetchrow_hashref){ -$startfrom+=20; $template->param(startfrom => $startfrom); +$startfrom+=20; +$template->param(nextstartfrom => $startfrom); $template->param(template => $templatename); $template->param(SEARCH_RESULTS => \@results); diff --git a/html-template/searchheader.tmpl b/html-template/searchheader.tmpl index c2dc399767..bb8fc2fda5 100644 --- a/html-template/searchheader.tmpl +++ b/html-template/searchheader.tmpl @@ -1,2 +1,2 @@ -Template #1 | Template #2 +>Template #1 | >Template #2
diff --git a/html-template/searchresults.tmpl b/html-template/searchresults.tmpl index 3db4a47d90..fa0852ed34 100644 --- a/html-template/searchresults.tmpl +++ b/html-template/searchresults.tmpl @@ -12,7 +12,7 @@ -&startfrom=>Next Records +&startfrom=>Next Records