@@ -, +, @@ error 20003 - Appply patch, restart memchached an dplack - Repeat search "test" - Verify that there is no internal server error - Add an authority containing quotes, e.g. Johann "Wolfie" Goethe - Search after Wolfie (without quotes) - Verify that authority ist found - Search after "Wolfie" - Verify that authority is found - Verify that other searches for authorities behave as before --- authorities/authorities-home.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/authorities/authorities-home.pl +++ a/authorities/authorities-home.pl @@ -82,7 +82,8 @@ if ( $op eq "do_search" ) { my $operator = $query->param('operator') || ''; my $orderby = $query->param('orderby') || ''; my $value = $query->param('value') || ''; - + my $value_no_doublequotes = $value; + $value_no_doublequotes =~ s/\"//g; my $startfrom = $query->param('startfrom') || 1; my $resultsperpage = $query->param('resultsperpage') || 20; @@ -92,7 +93,7 @@ if ( $op eq "do_search" ) { { index => $Koha::SearchEngine::AUTHORITIES_INDEX } ); my $search_query = $builder->build_authorities_query_compat( [$marclist], [$and_or], [$excluding], [$operator], - [$value], $authtypecode, $orderby + [$value_no_doublequotes], $authtypecode, $orderby ); my $offset = ( $startfrom - 1 ) * $resultsperpage + 1; my ( $results, $total ) = --