Bug Fixing :
- new authoritiessearch API (without $dbh) - new search API (using ccl)
This commit is contained in:
parent
0fc83a081f
commit
2fadb98a16
|
|
@ -49,7 +49,7 @@
|
|||
</td>
|
||||
<!-- TMPL_UNLESS name="isEDITORS" -->
|
||||
<td>
|
||||
<a href="/cgi-bin/koha/opac-search.pl?type=opac&op=do_search&marclist=<!-- TMPL_VAR NAME="biblio_fields" -->&operator==&value=<!-- TMPL_VAR NAME="authid" -->&and_or=and&excluding="><!-- TMPL_VAR NAME="used" --> biblios</a>
|
||||
<a href="/cgi-bin/koha/opac-search.pl?type=opac&op=do_search&q=an=<!--TMPL_VAR Name="authid" -->" class="button authority"><!-- TMPL_VAR NAME="used" --> biblios</a>
|
||||
</td>
|
||||
<!-- /TMPL_UNLESS -->
|
||||
<td>
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue