https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42647
--- Comment #2 from David Nind <[email protected]> --- 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 <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
