[Koha-bugs] [Bug 11158] Authorities 'starts with' search returns the same as 'contains' when using ICU
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Jul 3 21:20:12 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11158
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #114829|0 |1
is obsolete| |
--- Comment #15 from David Nind <david at davidnind.com> ---
Created attachment 137049
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137049&action=edit
Bug 11158: Add complete field to authority "starts with" search
This patch adds "complete field" to the authority "starts with"
search so that it uses the untokenized "p" register.
Test plan:
1. Apply the patch
2. koha-plack --restart kohadev
3. Go to http://localhost:8081/cgi-bin/koha/authorities/authorities-home.pl
4. Type in "Espen" into the search box and hit "Submit"
5. Note that there are 3 results
6. Change "contains" to "starts with" and hit "Submit"
7. Note that no results are returned
8. Change the search from "Espen" to "Sandberg" and hit "Submit"
9. Note that 3 results are returned
10. Experiment to your heart's content and rejoice at your new found power
Signed-off-by: David Nind <david at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list