[Koha-bugs] [Bug 15930] DataTables patron search defaulting to 'starts_with' and not getting correct parameters to parse multiple word searches

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 4 09:47:05 CET 2016


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

--- Comment #6 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Heather Braum from comment #5)
> 
> Nick has temporarily patched these three instances for us so the system is
> back to behaving the way it always has behaved. 

How? Nick, where is the patch? :)

> There needs to be a more permanent fix for this issue. We can't be the only
> system where librarians click in these patron search boxes and type in first
> name and last name.

I understand your POV, but we need to find a solution to satisfy everybody.
If we default to "contains", searches will return too many results.
We could:
1/ add a special case to search on firstname and surname (if start_with)
2/ add a pref to default on contains or start_with
3/ let the libraries who want a different behavior modify the default with some
JS code

I like none of these solutions. Anything else to suggest?

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


More information about the Koha-bugs mailing list