From d57ce0380dc33bfa16c56be6b31f4693ab47aebd Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 26 Jun 2008 16:16:16 -0500 Subject: [PATCH] bug 2278 - fix results pagination in auth_finder Fix same as for 2205 - the orderby parameter is currently required for authority searches. Also set default results per page to 20 instead of 19. No documentation changes. Signed-off-by: Joshua Ferraro --- authorities/auth_finder.pl | 2 +- .../modules/authorities/searchresultlist-auth.tmpl | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/authorities/auth_finder.pl b/authorities/auth_finder.pl index f68c18afe3..49bb0b59cc 100755 --- a/authorities/auth_finder.pl +++ b/authorities/auth_finder.pl @@ -63,7 +63,7 @@ if ( $op eq "do_search" ) { my $orderby = $query->param('orderby'); $resultsperpage = $query->param('resultsperpage'); - $resultsperpage = 19 if ( !defined $resultsperpage ); + $resultsperpage = 20 if ( !defined $resultsperpage ); my ( $results, $total ) = SearchAuthorities( \@marclist, \@and_or, \@excluding, \@operator, \@value, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tmpl index e63e4b9c0b..98c0938460 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tmpl @@ -23,7 +23,7 @@ function jumpfull(page)