[Koha-bugs] [Bug 27597] Searching "kw:term" does not work with Elasticsearch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 1 11:31:45 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27597

--- Comment #8 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Fridolin Somers from comment #7)
>      # Remove unquoted colons that have whitespace on either side of them
> -    $term =~ s/(:+)(\s+)$lookahead/$2/g;
> +    $term =~ s/(:+)(\s+)$lookahead//g;
>      $term =~ s/(\s+)(:+)$lookahead/$1/g;
> 
> Could you explain this change please ?

Look at the unit tests, it removes extra spaces.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list