@@ -, +, @@ --- C4/Search.pm | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-results-grouped.tt | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- a/C4/Search.pm +++ a/C4/Search.pm @@ -1188,7 +1188,7 @@ sub parseQuery { $query .= $operators[ $ii - 1 ] eq 'or' ? ' || ' : ' && ' if ($query); $query .= - ( $operators[$ii] ? "$operators[$ii]:" : '' ) . $operands[$ii]; + ( $indexes[$ii] ? "$indexes[$ii]:" : '' ) . $operands[$ii]; } foreach my $limit (@limits) { } --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results-grouped.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results-grouped.tt @@ -17,7 +17,7 @@ var q_array = new Array(); // will hold the search terms, if possible $(document).ready(function(){ [% IF ( OpacHighlightedWords ) %] $('a.title').each(function() { - $(this).attr('href', $(this).attr('href') + '&query_desc=[% query_desc | url %]'); + $(this).attr('href', $(this).attr('href') + '&query_desc=[% query_desc | uri %]'); }); [% END %] --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt +++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt @@ -105,7 +105,7 @@ function highlightOn() { $(document).ready(function(){ [% IF ( OpacHighlightedWords ) %] $('a.title').each(function() { - $(this).attr('href', $(this).attr('href') + '&query_desc=[% query_desc | url %]'); + $(this).attr('href', $(this).attr('href') + '&query_desc=[% query_desc | uri %]'); }); [% END %] --