[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
Tue Jan 5 01:26:21 CET 2021


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

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22517|0                           |1
        is obsolete|                            |

--- Comment #11 from David Cook <dcook at prosentient.com.au> ---
Created attachment 114829
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=114829&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

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


More information about the Koha-bugs mailing list