Koha/koha-tmpl/intranet-tmpl/prog/js
Jonathan Druart 3ce2f6e700
Bug 32261: Patron autocomplete - do not empty text field
The jQuery UI autocomplete is supposed to replace the text field with
the 'value' attribute of the selected item. As it does not exist it's
emptied. We should not replace what the user typed in.

Test plan:
Go to the Koha home page
Select "Search patrons" in the header
Type 'edn', it will return 1 result
Use the down key to select the item (it is not obvious but there is a
little change in the color when you select the item)
=> Without this patch the search field is emptied
=> With this patch applied the search field is not modified

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>
2022-12-07 11:36:53 -03:00
..
pages Bug 32172: Remove biblionumber param from Z3950 popup on results 2022-11-16 14:28:12 -03:00
vue Vue bundle - Add main.js.LICENSE.txt 2022-12-01 10:29:42 +01: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 23202: Fix screen freeze when ordereing several items 2022-08-17 09:23:10 -03:00
addorderiso2709.js Bug 32046: When adding a new records from a staged files, there are style issues 2022-11-23 09:34:00 -03:00
admin-menu.js
ajax.js
audio_alerts.js
auth-finder-search.js
authorities-detail-modal.js Bug 31660: MARC preview for authority search results has hidden contents 2022-10-03 15:10:44 -03:00
authtype.js Bug 13952: (follow-up) JS translatability, clean warns, other 2022-04-04 16:23:46 +02: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
background-job-progressbar.js
basket.js Bug 26019: (follow-up) Set SameSite attribute on Cart cookies 2022-04-13 15:55:38 +02:00
basketgroup.js
biblio_framework.js
browser.js
calendar.js Bug 30514: Error in date format check following datepicker removal 2022-05-06 10:33:10 -10:00
cart.js Bug 28782: Use query param list instead of splitting elements using '/' 2022-03-03 16:11:50 -10:00
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 30376: Fix missing mandatory date acquired error on item save 2022-04-13 15:55:39 +02:00
cataloging_additem.js Bug 24606: (QA follow-up) Disable 'Apply template' button if no template is selected 2022-11-10 14:25:53 -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 23838: (QA follow-up) Move include files 2022-07-22 12:53:50 -03:00
checkouts.js Bug 31861: Table controls on checkouts table are buttons 2022-10-24 11:13:50 -03:00
datatables.js Bug 32303: Remove DT pagination on system preference search result 2022-11-23 09:35:40 -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
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 29648: ILL - no change 2022-04-27 11:20:44 -10:00
item_search_fields.js Bug 20689: (follow-up) Make it possible to add capital letter subfields to item search fields 2022-03-01 22:47:46 -10:00
job_progess.js Bug 31891: (bug 27421 follow-up) Remove one additional click 2022-11-22 09:19:59 -03:00
letter.js Bug 30709: 'Insert' button in notices editor not adding selected placeholders to notice 2022-05-06 10:33:10 -10:00
localcovers.js
mana.js
marc_modification_templates.js Bug 29648: Fix occurrences of GetColumns 2022-04-27 11:20:45 -10:00
marc_subfields_structure.js Bug 30489: Convert MARC and authority subfield edit tabs to Bootstrap 2022-05-02 11:22:57 -10:00
members-menu.js Bug 30952: Staff interface redesign (header) 2022-10-12 15:58:16 -03:00
members.js Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
merge-record.js
messaging-preference-form.js Bug 26244: Move translatable strings out of memberentrygen.tt and into JavaScript 2022-04-12 11:40:17 +02:00
offlinecirc.js
onboarding.js Bug 28982: Use Flatpickr on onboarding pages 2021-11-03 15:40:53 +01:00
patron-autocomplete.js Bug 32261: Patron autocomplete - do not empty text field 2022-12-07 11:36:53 -03:00
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 31085: Reload return claims table on resolve 2022-07-01 16:08:22 -03:00
restrictiontypes.js Bug 23681: Add Management UI 2022-08-25 08:41:00 -03:00
rotating-collections.js
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
staff-global.js Bug 32214: Prevent empty search option block in catalog search header 2022-11-16 16:29:05 -03:00
subscription-add.js Bug 26377: Simplify JS code 2022-07-20 09:56:24 -03:00
table_filters.js
tools-menu.js Bug 15326: Using AdditionalContents for custom pages on OPAC 2022-08-16 15:42:24 -03:00
upload-images.js Bug 30223: Move book cover image upload JS to a separate file 2022-04-19 21:25:51 -10: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
z3950_search.js