Lines 64-71
if ( $op eq "do_search" ) {
Link Here
|
64 |
{ index => $Koha::SearchEngine::AUTHORITIES_INDEX } ); |
64 |
{ index => $Koha::SearchEngine::AUTHORITIES_INDEX } ); |
65 |
my $search_query = $builder->build_authorities_query_compat( \@marclist, \@and_or, |
65 |
my $search_query = $builder->build_authorities_query_compat( \@marclist, \@and_or, |
66 |
\@excluding, \@operator, \@value, $authtypecode, $orderby ); |
66 |
\@excluding, \@operator, \@value, $authtypecode, $orderby ); |
|
|
67 |
my $offset = ( $startfrom - 1 ) * $resultsperpage + 1; |
67 |
my ( $results, $total ) = |
68 |
my ( $results, $total ) = |
68 |
$searcher->search_auth_compat( $search_query, $startfrom, $resultsperpage ); |
69 |
$searcher->search_auth_compat( $search_query, $offset, $resultsperpage ); |
69 |
( $template, $loggedinuser, $cookie ) = get_template_and_user( |
70 |
( $template, $loggedinuser, $cookie ) = get_template_and_user( |
70 |
{ |
71 |
{ |
71 |
template_name => "opac-authoritiessearchresultlist.tt", |
72 |
template_name => "opac-authoritiessearchresultlist.tt", |
72 |
- |
|
|