From 2fadb98a160dfb7307f55b86b56bb737fe45d22f Mon Sep 17 00:00:00 2001 From: hdl Date: Tue, 27 Mar 2007 14:48:39 +0000 Subject: [PATCH] Bug Fixing : - new authoritiessearch API (without $dbh) - new search API (using ccl) --- .../opac-tmpl/prog/en/opac-authoritiessearchresultlist.tmpl | 2 +- opac/opac-authorities-home.pl | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/opac-authoritiessearchresultlist.tmpl b/koha-tmpl/opac-tmpl/prog/en/opac-authoritiessearchresultlist.tmpl index 7e3706fd90..e7cc6e593d 100644 --- a/koha-tmpl/opac-tmpl/prog/en/opac-authoritiessearchresultlist.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/opac-authoritiessearchresultlist.tmpl @@ -49,7 +49,7 @@ - &operator==&value=&and_or=and&excluding="> biblios + " class="button authority"> biblios diff --git a/opac/opac-authorities-home.pl b/opac/opac-authorities-home.pl index 4cd3fe8ab0..5eee0c0252 100755 --- a/opac/opac-authorities-home.pl +++ b/opac/opac-authorities-home.pl @@ -56,17 +56,18 @@ foreach my $thisauthtype ( sort { $authtypes->{$a} <=> $authtypes->{$b} } } if ( $op eq "do_search" ) { - my @marclist = $query->param('marclist'); - my @and_or = $query->param('and_or'); - my @excluding = $query->param('excluding'); - my @operator = $query->param('operator'); - my @value = $query->param('value'); + my @marclist = $query->param('marclist'); + my @and_or = $query->param('and_or'); + my @excluding = $query->param('excluding'); + my @operator = $query->param('operator'); + my $orderby = $query->param('orderby'); + my @value = $query->param('value'); $resultsperpage = $query->param('resultsperpage'); $resultsperpage = 19 if ( !defined $resultsperpage ); my @tags; my ( $results, $total, @fields ) = - authoritysearch( $dbh, \@marclist, \@and_or, \@excluding, \@operator, + authoritysearch( \@marclist, \@and_or, \@excluding, \@operator, \@value, $startfrom * $resultsperpage, $resultsperpage, $authtypecode ); ( $template, $loggedinuser, $cookie ) = get_template_and_user( -- 2.11.0