Pedro Amorim
bd4f59cd9a
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@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> |
||
---|---|---|
.. | ||
modals | ||
pages | ||
vue | ||
acq.js | ||
acquisitions-menu.js | ||
additem.js | ||
addorderiso2709.js | ||
admin-menu.js | ||
ajax.js | ||
audio_alerts.js | ||
auth-finder-search.js | ||
authorities-detail-modal.js | ||
authtype.js | ||
automatic_item_modification_by_age.js | ||
basket.js | ||
biblio_framework.js | ||
browser.js | ||
calendar.js | ||
cancel_booking_modal.js | ||
cart.js | ||
cashup_modal.js | ||
catalog.js | ||
cataloging.js | ||
cataloging_additem.js | ||
categories.js | ||
charts.js | ||
checkout_renewals_modal.js | ||
checkouts.js | ||
cookieconsent.js | ||
datatables.js | ||
desk_selection.js | ||
elasticsearch-mappings.js | ||
file-upload.js | ||
funds_sorts.js | ||
holds.js | ||
ill-availability-partner.js | ||
ill-availability.js | ||
ill-batch-modal.js | ||
ill-batch-table.js | ||
ill-batch.js | ||
ill-list-table.js | ||
item_search_fields.js | ||
job_progress.js | ||
letter.js | ||
localcovers.js | ||
mana.js | ||
marc_modification_templates.js | ||
marc_subfields_structure.js | ||
members-menu.js | ||
members.js | ||
merge-record.js | ||
messaging-preference-form.js | ||
modal_printer.js | ||
onboarding.js | ||
patron-webcam.js | ||
place_booking_modal.js | ||
recalls.js | ||
register_selection.js | ||
resolve_claim_modal.js | ||
restrictiontypes.js | ||
rotating-collections.js | ||
select2.js | ||
serials-toolbar.js | ||
showpredictionpattern.js | ||
sms_providers.js | ||
staff-global.js | ||
subscription-add.js | ||
table_filters.js | ||
tools-menu.js | ||
upload-images.js | ||
viewlog.js | ||
xmlControlfield.js | ||
z3950_search.js |