[Koha-bugs] [Bug 28241] OPACNoResultsFound {QUERY_KW} placeholder doesn't always match the search terms when commas are included in the search

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 27 23:27:19 CEST 2021


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

--- Comment #1 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 120247
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120247&action=edit
Bug 28241: Fix regex to allow for content before and after comma

1. Set up the OPACNoResultsFound with the {QUERY_KW} placeholder.
2.Do a search with a comma that will return no results. Like "King, Martin
Luther". If the returns results add some additional characters to the search
until no results are returns.
3. Look at the #noresultsfound HTML element. Anything before (or after) the
comma is omitted. So the placeholder looks something like 'Martin Luther'
instead of 'King, Martin Luther'.
4. Apply patch
5. Try the search again, you should see the content before and after a comma

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


More information about the Koha-bugs mailing list