[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
Thu Nov 9 16:12:30 CET 2023


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

Pedro Amorim <pedro.amorim at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #158397|0                           |1
        is obsolete|                            |

--- Comment #22 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 158744
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158744&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