From 77e79ec2172982bf5732498089090841a211f31f Mon Sep 17 00:00:00 2001 From: tipaul Date: Tue, 21 Jun 2005 14:50:26 +0000 Subject: [PATCH] bugfix for next/previous and number links on result list, when long list of results --- authorities/auth_finder.pl | 4 ++-- .../default/en/authorities/searchresultlist-auth.tmpl | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/authorities/auth_finder.pl b/authorities/auth_finder.pl index 8b22651373..86f567571e 100755 --- a/authorities/auth_finder.pl +++ b/authorities/auth_finder.pl @@ -92,8 +92,9 @@ if ($op eq "do_search") { my @field_data = (); + my @marclist_ini = $query->param('marclist'); # get marclist again, as the previous one has been modified by catalogsearch (mainentry replaced by field name for(my $i = 0 ; $i <= $#marclist ; $i++) { - push @field_data, { term => "marclist", val=>$marclist[$i] }; + push @field_data, { term => "marclist", val=>$marclist_ini[$i] }; push @field_data, { term => "and_or", val=>$and_or[$i] }; push @field_data, { term => "excluding", val=>$excluding[$i] }; push @field_data, { term => "operator", val=>$operator[$i] }; @@ -157,7 +158,6 @@ if ($op eq "do_search") { $template->param(authtypesloop => \@authtypesloop, authtypecode => $authtypecode); -warn "CAT : $authtypecode"; # Print the page output_html_with_http_headers $query, $cookie, $template->output; diff --git a/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl b/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl index aa478c0254..65958cb63d 100644 --- a/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/authorities/searchresultlist-auth.tmpl @@ -45,7 +45,7 @@

- &&authtypecode=&and_or=and&operator=contains&value=&op=do_search&type=intranet&index="> + &&authtypecode=&=&op=do_search&type=intranet&index="> @@ -53,12 +53,12 @@ -highlight.gif"> - &authtypecode=&and_or=and&operator=contains&value=&op=do_search&type=intranet&index="> + &authtypecode=&=&op=do_search&type=intranet&index="> .gif" border="0"> - &&authtypecode=&and_or=and&operator=contains&value=&op=do_search&type=intranet&index="> + &&authtypecode=&=&op=do_search&type=intranet&index=">

-- 2.39.5