Koha/koha-tmpl/intranet-tmpl/prog/js
Owen Leonard 8c38904627
Bug 22867: UniqueItemFields preference value should be pipe-delimited
This patch updates the UniqueItemFields system preference so that it
contains pipe-delimited data instead of space-delimited data. This makes
it consistent with other system preferences which contain lists of
database column names, and enables the selection process provided by Bug
22844.

This patch includes a database update to convert space-delimited values
in UniqueItemFields to pipe-delimited.

To test you should have two or more space-delimited items table columns
saved in the UniqueItemFields system preference. Apply the patch and run
the database update.

 - Go to Administration -> System preferences -> Acquisitions and
   confirm that the value of UniqueItemFields is now pipe-delimited.
 - Set the AcqCreateItem system preference to "placing an order."
 - Go to Acquisitions -> Vendor -> Basket -> Add to basket -> From a new
   (empty) record.
   - Fill out the item add form, including those fields specified in
     UniqueItemFields.
   - Click the "Add multiple items" button and specify one or more
     items.
   - Click "Add" and verify that in the table of items added, the fields
     specified in UniqueItemFields were not duplicated.
   - Edit one or more of those items and add duplicate values to one or
     more of the fields specified in UniqueItemFields.
   - Click "Save" and confirm that you are presented with an error
     highlighting the duplicated data.
   - Correct the data to remove the duplicates and click "Save" again.
     It should save correctly.

  - Set the AcqCreateItem system preference to "receiving an order."
  - Repeat the test above during the process of receiving an order.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-06-06 16:08:47 +01:00
..
pages Bug 7088: Allow renew on hold items with due date 2019-05-09 14:40:49 +00:00
acq.js Bug 18639: (follow-up) Populate replacement price from list price during ordering 2018-08-31 12:46:51 +00:00
acquisitions-menu.js
additem.js Bug 22867: UniqueItemFields preference value should be pipe-delimited 2019-06-06 16:08:47 +01:00
addorderiso2709.js Bug 22802: Check item funds, order funds, and default funds when ordering from a file 2019-05-23 15:12:29 +00:00
admin-menu.js
ajax.js
audio_alerts.js
auth-finder-search.js
automatic_item_modification_by_age.js
background-job-progressbar.js Bug 19417: Make error just a wee more human 2019-03-13 05:31:34 +00:00
basket.js Bug 22023: (QA follow-up) Remove console.log used for debugging 2019-03-13 05:31:30 +00:00
basketgroup.js
biblio_framework.js Bug 8558: (QA follow-up) a little more text clean up 2019-06-06 15:47:39 +01:00
cart.js Bug 22419: Records listed twice when select/unselect all from the cart 2019-03-07 20:53:28 +00:00
catalog.js Bug 21556: Deleting same record twice leads to fatal software error 2018-11-01 19:05:12 +00:00
cataloging.js
cataloging_additem.js Bug 22669: Fix item editing on receiving an order 2019-04-26 10:17:21 +00:00
categories.js Bug 22190: Add column configuration to patron category administration 2019-01-30 12:01:34 +00:00
charts.js Bug 17282: Ability to create charts for SQL reports 2018-10-01 13:56:35 +00:00
checkouts.js Bug 7088: (follow-up) Modify checkbox enabling 2019-05-09 14:40:49 +00:00
circ-patron-search-results.js Bug 22330: (QA follow-up) Enable datatable in patron search 2019-03-21 16:22:56 +00:00
commons.js
datatables.js Bug 22811: Add button to clear DataTables filtering 2019-05-09 19:30:05 +00:00
file-upload.js
funds_sorts.js Bug 15184: Prepare the ground - Move funds and sort fields autoupdate 2018-11-08 15:52:56 +00:00
holds.js Bug 19630: Removed constant message from Status column 2019-04-11 13:52:09 +00:00
ill-list-table.js Bug 18589: (follow-up) Fix merge problem 2019-03-22 20:21:50 +00:00
item_search_fields.js
letter.js Bug 21751: Replace fixFloat with HC-sticky to fix Chrome display 2019-02-04 14:13:35 +00:00
localcovers.js Bug 19511: Local cover images not centered in table column in staff client search results 2018-08-21 12:48:36 +00:00
mana.js Bug 22250: Clean up Mana KB integration with serials and reports 2019-04-11 11:34:14 +00:00
marc_modification_templates.js Bug 21861: (follow-up) replace onchange() with jQuery equivalent 2018-11-29 18:32:49 +00:00
marc_subfields_structure.js
members-menu.js Bug 22904: Untranslatable strings in members-menu.js 2019-05-30 10:06:18 +00:00
members.js Bug 3766: Cities/Towns only on one address 2019-04-17 12:25:25 +00:00
merge-record.js
messaging-preference-form.js Bug 21813: In-page JavaScript causes error on patron entry page 2019-01-08 14:09:14 +00:00
offlinecirc.js
onboarding.js
rotating-collections.js
serials-toolbar.js Bug 17047: SQL reports management with Mana-KB 2019-01-23 14:39:26 +00:00
showpredictionpattern.js
sms_providers.js
staff-global.js Bug 15911: (follow-up) Allow enter to submit using the submit button 2019-03-13 03:42:10 +00:00
subscription-add.js Bug 22408: Subscription entry form cleanup 2019-04-30 12:54:30 +00:00
table_filters.js
tools-menu.js Bug 11897: (QA follow-up) Update of tools-menu.js 2018-10-09 15:46:08 +00:00
xmlControlfield.js
z3950_search.js