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

Katrin Fischer <katrin.fisc...@bsz-bw.de> changed:

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

--- Comment #20 from Katrin Fischer <katrin.fisc...@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.renvo...@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer...@web.de>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/

Reply via email to