[Koha-bugs] [Bug 24750] Instructor search does not return results if a comma is included after surname or if first name is included

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Apr 19 21:34:44 CEST 2020


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

--- Comment #7 from David Nind <david at davidnind.com> ---
Created attachment 103223
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=103223&action=edit
Bug 24750: Instructor Search Results

Adds regex to the split() of the passed parameters to improve searching.

Test plan
1. Go to Course Reserves module.
2. Press New course button.
3. Make active the instructor search box.
4. Start typing the last name of a patron that exists in your database.
5. At the end of the last name type ", " and try to add a first name.
6. The search should fail.
7. Apply the patch.
8. Follow steps 1-5 again.
9. You should now be able to search using the following methods
9a. surname, firstname
9b. firstname surname

Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list