Koha/koha-tmpl/intranet-tmpl/prog/js
Michael Hafen e24304ccd5 Bug 34592: Patron Search filter fields needs to be at least an empty array
If buildPatronSearchQuery() doesn't return an empty array when it exits
early, then the code that adds the sort fields to the filters will fail.

Test plan:

- If there is not all ready a patron with a sort1 or sort2 value from
  the bSort1 or bSort2 authorized values, add an authorized value if
  necessary.
- Add a patron if necessary, and set the patrons sort field to the added
  value.
- In Tools -> Patron card creator start a new card batch.
- Click on Add Patron(s) to open the patron search window.
- Pick the value in either the sort1 or sort2 drop down.
- Submit the page.  The page will reload and there won't be results.
- Apply the patch, close the patron search window, clear the browser
  cache, reload the "New patron card batch" page, and open the patron
  search window again.
- Repeat the search. There will be results.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 275197f405)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2023-08-30 10:18:11 -10:00
..
modals Bug 31028: Add display to details page 2023-03-06 11:23:17 -03:00
pages Bug 34115: Use a global tab select function for activating Bootstrap tabs based on location hash 2023-08-30 10:16:42 -10:00
vue Bug 34219: Allow getAll to receive additional URL parameters 2023-08-29 20:51:27 -10:00
acq.js
acquisitions-menu.js
additem.js
addorderiso2709.js Bug 32293: Fix terminology in warning when creating orders from staged file 2023-02-27 11:39:04 -03:00
admin-menu.js
ajax.js
audio_alerts.js
auth-finder-search.js
authorities-detail-modal.js Bug 34180: Template variable in JavaScript prevents authority MARC preview from displaying 2023-07-17 16:26:25 +01:00
authtype.js
automatic_item_modification_by_age.js
background-job-progressbar.js
basket.js Bug 33597: Get rid of warning about intranet_bib_list 2023-05-05 09:13:29 -03:00
biblio_framework.js
browser.js Bug 28196: Insert searchid in URL correctly, so it doesn't follow the hash 2023-07-18 11:07:42 +01:00
calendar.js
cart.js
cashup_modal.js
catalog.js
cataloging.js Bug 32484: Enable plugins when UseACQFrameworkForBiblioRecords is set 2023-04-21 10:36:28 -03:00
cataloging_additem.js
categories.js
charts.js
checkout_renewals_modal.js
checkouts.js Bug 25023: Claims returned dates not formatted according to dateformat preference 2023-08-29 20:52:28 -10:00
datatables.js Bug 33705: (bug 33066 follow-up) Fix 'configure' button for kohaTable 2023-05-16 11:47:02 +02:00
desk_selection.js
elasticsearch-mappings.js
file-upload.js
funds_sorts.js Bug 33939: Preserve order budget dropdowns and default budget dropdowns seperately 2023-07-18 12:41:46 +01:00
holds.js
ill-availability-partner.js
ill-availability.js
ill-list-table.js Bug 34133: Set default sort on first column (ID) desc 2023-08-07 20:05:46 -10:00
item_search_fields.js
job_progress.js Bug 34364: Fix progress bar progress update 2023-08-21 20:26:30 -10: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 Bug 32164: Add link to MARC modification templates from batch record modification page 2023-04-06 09:47:28 -03:00
marc_subfields_structure.js Bug 34115: Use a global tab select function for activating Bootstrap tabs based on location hash 2023-08-30 10:16:42 -10:00
members-menu.js
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
onboarding.js
patron-webcam.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 Bug 34592: Patron Search filter fields needs to be at least an empty array 2023-08-30 10:18:11 -10:00
subscription-add.js
table_filters.js Bug 32447: Fix DataTable filtering when hidden columns are in place 2023-03-31 19:19:27 +02:00
tools-menu.js
upload-images.js
viewlog.js
xmlControlfield.js Bug 34565: Label mismatch in MARC21 006 and 008 cataloging plugins 2023-08-29 20:45:31 -10:00
z3950_search.js Bug 33655: z39.50 search no longer shows search in progress 2023-05-12 11:22:37 -03:00