Lines 82-88
if ( $op eq "do_search" ) {
Link Here
|
82 |
my $operator = $query->param('operator') || ''; |
82 |
my $operator = $query->param('operator') || ''; |
83 |
my $orderby = $query->param('orderby') || ''; |
83 |
my $orderby = $query->param('orderby') || ''; |
84 |
my $value = $query->param('value') || ''; |
84 |
my $value = $query->param('value') || ''; |
85 |
|
85 |
my $value_no_doublequotes = $value; |
|
|
86 |
$value_no_doublequotes =~ s/\"//g; |
86 |
my $startfrom = $query->param('startfrom') || 1; |
87 |
my $startfrom = $query->param('startfrom') || 1; |
87 |
my $resultsperpage = $query->param('resultsperpage') || 20; |
88 |
my $resultsperpage = $query->param('resultsperpage') || 20; |
88 |
|
89 |
|
Lines 92-98
if ( $op eq "do_search" ) {
Link Here
|
92 |
{ index => $Koha::SearchEngine::AUTHORITIES_INDEX } ); |
93 |
{ index => $Koha::SearchEngine::AUTHORITIES_INDEX } ); |
93 |
my $search_query = $builder->build_authorities_query_compat( |
94 |
my $search_query = $builder->build_authorities_query_compat( |
94 |
[$marclist], [$and_or], [$excluding], [$operator], |
95 |
[$marclist], [$and_or], [$excluding], [$operator], |
95 |
[$value], $authtypecode, $orderby |
96 |
[$value_no_doublequotes], $authtypecode, $orderby |
96 |
); |
97 |
); |
97 |
my $offset = ( $startfrom - 1 ) * $resultsperpage + 1; |
98 |
my $offset = ( $startfrom - 1 ) * $resultsperpage + 1; |
98 |
my ( $results, $total ) = |
99 |
my ( $results, $total ) = |
99 |
- |
|
|