Koha/koha-tmpl/intranet-tmpl/prog/js
Pedro Amorim bd4f59cd9a
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@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-09 14:42:20 -03:00
..
modals Bug 35081: Make it possible to translate catalog concern status messages 2023-10-20 11:02:53 -03:00
pages Bug 21159: Template and yaml changes 2023-11-06 11:34:47 -03:00
vue Bug 35218: Add unit tests for the counter registry API 2023-11-08 09:58:54 -03:00
acq.js
acquisitions-menu.js
additem.js Bug 34109: Check mandatory item fields when creating during recipt 2023-09-06 09:57:02 -03:00
addorderiso2709.js
admin-menu.js
ajax.js
audio_alerts.js
auth-finder-search.js Bug 31132: (follow-up) Reset dropdown values and style button 2023-06-23 11:00:59 -03:00
authorities-detail-modal.js Bug 34180: Template variable in JavaScript prevents authority MARC preview from displaying 2023-07-03 14:51:45 -03:00
authtype.js
automatic_item_modification_by_age.js
basket.js Bug 34553: Update send list and send cart popup footers 2023-09-22 11:35:46 -03:00
biblio_framework.js
browser.js Bug 28196: Insert searchid in URL correctly, so it doesn't follow the hash 2023-07-12 14:30:57 -03:00
calendar.js
cancel_booking_modal.js Bug 29002: (follow-up) Add bookings count to side menu 2023-11-03 12:04:14 -03:00
cart.js Bug 35072: Fix invalid usage of "&amp;" in JavaScript intranet-tmpl script redirects 2023-10-24 10:05:27 -03:00
cashup_modal.js Bug 31041: (follow-up) Clean up and generalise 2023-11-08 09:59:00 -03:00
catalog.js Bug 35072: Fix invalid usage of "&amp;" in JavaScript intranet-tmpl script redirects 2023-10-24 10:05:27 -03:00
cataloging.js Bug 33744: Fix cloning (sub)fields with framework plugins 2023-09-01 11:07:40 -03:00
cataloging_additem.js
categories.js
charts.js
checkout_renewals_modal.js
checkouts.js Bug 25393: UI adjustments 2023-10-20 16:31:18 -03:00
cookieconsent.js Bug 27378: Introduce cookie consent to OPAC and staff client 2023-09-12 09:45:07 -03:00
datatables.js Bug 34310: Input prompt in datatables column search boxes untranslatable 2023-09-08 11:54:56 -03:00
desk_selection.js
elasticsearch-mappings.js Bug 34625: Fix search engine configuration tables header problem 2023-09-05 11:52:26 -03:00
file-upload.js
funds_sorts.js Bug 22712: Make 'Show inactive funds' button on addorderiso2907.pl work for item budgets 2023-10-30 09:02:18 -03:00
holds.js Bug 35072: Fix invalid usage of "&amp;" in JavaScript intranet-tmpl script redirects 2023-10-24 10:05:27 -03:00
ill-availability-partner.js
ill-availability.js
ill-batch-modal.js Bug 30719: (QA follow-up) Updating remaining naming 2023-10-17 14:45:23 -03:00
ill-batch-table.js Bug 30719: (QA follow-up) Updating remaining naming 2023-10-17 14:45:23 -03:00
ill-batch.js Bug 30719: (QA follow-up) Rename illbatches endpoint to ill/batches 2023-10-17 14:45:20 -03:00
ill-list-table.js Bug 34058: Use buildSearchPatronQuery when searching for patrons on left side filters 2023-11-09 14:42:20 -03:00
item_search_fields.js Bug 34401: Fix inconsistencies in Item search fields page titles, breadcrumbs, and headers 2023-10-17 14:45:29 -03:00
job_progress.js Bug 34468: Add progress callback to job_progress.js 2023-10-25 12:09:48 -03:00
letter.js Bug 33622: Notice content does not show on default tab if TranslateNotices enabled 2023-05-09 11:46:53 -03:00
localcovers.js
mana.js
marc_modification_templates.js
marc_subfields_structure.js Bug 34114: Replace the use of jQueryUI sortable 2023-09-22 13:00:00 -03:00
members-menu.js Bug 32986: Add patron_slip module to letters and allow printing on members account 2023-11-08 17:59:33 -03:00
members.js Bug 33684: Make mandatory date fields required when editing a patron 2023-05-10 15:26:27 -03:00
merge-record.js
messaging-preference-form.js
modal_printer.js Bug 31041: (follow-up) Clean up and generalise 2023-11-08 09:59:00 -03:00
onboarding.js
patron-webcam.js
place_booking_modal.js Bug 29002: Empty select2 options for patron at modal close 2023-11-03 12:04:29 -03:00
recalls.js
register_selection.js
resolve_claim_modal.js
restrictiontypes.js Bug 16223: Add ability to define liftable restrictions 2023-10-11 12:13:06 -03:00
rotating-collections.js
select2.js
serials-toolbar.js
showpredictionpattern.js
sms_providers.js
staff-global.js Bug 34058: Preparation: buildPatronSearchQuery 2023-11-09 14:42:19 -03:00
subscription-add.js Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
table_filters.js
tools-menu.js
upload-images.js Bug 32910: (follow-up) A few more icon name corrections 2023-06-12 11:52:11 -03:00
viewlog.js
xmlControlfield.js Bug 34565: Label mismatch in MARC21 006 and 008 cataloging plugins 2023-08-29 14:37:12 -03:00
z3950_search.js Bug 33655: z39.50 search no longer shows search in progress 2023-05-12 11:22:37 -03:00