[Koha-bugs] [Bug 34058] ILL - Left filters not considering all terms in input
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Nov 4 19:20:47 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34058
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #156733|0 |1
is obsolete| |
--- Comment #20 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 158397
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158397&action=edit
Bug 34058: Use buildSearchPatronQuery when searching for patrons on left side
filters
This will now use the centered logic from buildSearchPatronQuery, not only
fixing the original issue of not being considering all the terms in the
search input, but also reusing already established code.
Test plan, k-t-d:
1) Install FreeForm, enable ILLModule sys pref, run:
bash <(curl -s
https://raw.githubusercontent.com/ammopt/koha-ill-dev/master/start-ill-dev.sh)
2) Create a FreeForm ILL request and input 23529000035676 in the cardnumber,
that's "Henry Acevedo".
3) Go back to the ILL list table, input "henry" in the bottom "Patron" filter
input and press the "Search" button, notice it fetches the request correctly.
4) Now do the the same search but with "henry acevedo", notice the request is
not retrieved.
5) Apply patch. Repeat. Do the same for the "patron" input field and the
"keyword" input field.
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list