Koha/koha-tmpl/intranet-tmpl/prog/js
Michael Hafen 275197f405
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>
2023-08-30 10:07:07 -03: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:07:06 -03:00
vue Bug 34219: Allow getAll to receive additional URL parameters 2023-08-29 14:37:17 -03:00
acq.js Bug 28082: Add acquisitions toolbar to vendors on vendor search page 2022-05-10 15:17:17 -10:00
acquisitions-menu.js Bug 26019: Koha should set SameSite attribute on cookies 2022-04-13 15:55:38 +02:00
additem.js Bug 32910: (follow-up) Replace v4 icon names with v6 2023-06-12 11:52:10 -03:00
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 Bug 31413: Set focus for cursor to Selector when adding a new audio alert 2023-02-24 17:52:27 -03:00
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 Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
automatic_item_modification_by_age.js Bug 22827: Add age dependency on other fields than dateaccessioned 2022-04-08 15:49:16 +02:00
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-12 14:30:57 -03:00
calendar.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
cart.js
cashup_modal.js Bug 27779: (QA follow-up) Better translatability 2022-08-09 07:36:58 -03:00
catalog.js Bug 25251: (follow-up) Remove alertNoItems 2022-03-24 14:22:10 -10:00
cataloging.js Bug 32484: Enable plugins when UseACQFrameworkForBiblioRecords is set 2023-04-21 10:36:28 -03:00
cataloging_additem.js Bug 32933: Use val() instead of attr("value") when getting field values with jQuery 2023-02-21 09:11:17 -03:00
categories.js Bug 30864: Add validation to password_expiry_days 2022-06-06 13:49:00 -03:00
charts.js
checkout_renewals_modal.js Bug 30642: (follow-up) Change sql and adapt for translations 2023-02-10 11:07:58 -03:00
checkouts.js Bug 25023: Claims returned dates not formatted according to dateformat preference 2023-08-29 14:37:17 -03:00
datatables.js Bug 34226: Use 'type' at the datatable config level 2023-07-25 16:25:35 -03:00
desk_selection.js
elasticsearch-mappings.js Bug 30584: Fix ES mapping creation 2022-04-25 10:00:22 -10:00
file-upload.js
funds_sorts.js Bug 33939: Preserve order budget dropdowns and default budget dropdowns seperately 2023-07-14 15:23:16 -03:00
holds.js Bug 24860: (QA follow-up) Terminology and translation fixes 2022-11-04 19:39:58 -03:00
ill-availability-partner.js
ill-availability.js Bug 29648: ILL - no change 2022-04-27 11:20:44 -10:00
ill-list-table.js Bug 34351: Add link to access_url 2023-08-15 15:14:08 +03:00
item_search_fields.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
job_progress.js Bug 34364: Fix progress bar progress update 2023-08-18 10:29:26 +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 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:07:06 -03:00
members-menu.js Bug 30952: Staff interface redesign (header) 2022-10-12 15:58:16 -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 Bug 31166: Digest option is not selectable for phone when PhoneNotification is enabled 2022-12-13 14:59:51 -03:00
onboarding.js
patron-webcam.js Bug 6815: Display an error in if HTTPS not used and webcam unavailable 2022-03-24 14:22:10 -10:00
recalls.js Bug 19532: (follow-up) Fixing tests and QA tools 2022-03-14 22:45:51 -10:00
register_selection.js
resolve_claim_modal.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
restrictiontypes.js Bug 23681: Add Management UI 2022-08-25 08:41:00 -03:00
rotating-collections.js Bug 22490: Some strings in JavaScript files are untranslatable 2023-02-24 16:41:31 -03:00
select2.js Bug 31646: Add Select2 focus to text search field 2022-10-11 10:16:35 -03:00
serials-toolbar.js
showpredictionpattern.js
sms_providers.js Bug 32618: Add 'page-section' to various administration pages 2023-01-31 09:36:42 -03:00
staff-global.js Bug 34592: Patron Search filter fields needs to be at least an empty array 2023-08-30 10:07:07 -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 Bug 32447: Fix DataTable filtering when hidden columns are in place 2023-03-31 19:19:27 +02:00
tools-menu.js Bug 15326: Using AdditionalContents for custom pages on OPAC 2022-08-16 15:42:24 -03:00
upload-images.js Bug 32910: (follow-up) A few more icon name corrections 2023-06-12 11:52:11 -03:00
viewlog.js Bug 30578: Remove circ/ysearch.pl in favor of the /patrons REST API route 2022-07-18 11:01:34 -03:00
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