https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42647 --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 199383 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199383&action=edit Bug 42647: Fix search by patron attribute using "starts with" and space in attribute value This patch fixes the search by patron attribute using "starts with" operator when the attribute value contains spaces. Test plan: 1. Add a new searchable patron attribute. 2. Add a value for the patron attribute with space in it (e.g., "John Doe") to a patron record. 3. Go to the patron search page. 4. Select patron attribute as the search field and "starts with" as the search operator. 5. Enter a value for the patron attribute with space in it (e.g., "John Doe") and perform the search. 6. Verify that the search result fails. 7. Apply the patch. 8. Repeat steps 1-5. 9. Verify that the search result is correct and includes patrons with the specified attribute value. Sponsored-by: Koha-Suomi Oy Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.