Koha/koha-tmpl/intranet-tmpl/prog/js
Owen Leonard 743f40a202
Bug 23349: Add batch operations to staff interface catalog search results
This patch adds three new options to the staff interface catalog search
results for users with cataloging permission: batch edit, batch delete,
and merge. The choices are found in an "Edit" menu which is disabled by
default. Checking any boxes in the search results table enables the
button.

To test, apply the patch and log in to Koha as a user with
edit_catalogue permission.

 - Perform a search in the catalog
 - You should see a disabled "Edit" button in the toolbar at the top of
   the search results table.
 - Check a single checkbox. The button should become enabled.
   - Test the "Batch edit" and "Batch delete" menu items. They should
     work correctly.
   - Test the "Merge records" item. It should warn you that you must
     select at least two records.
 - Check more than one checkbox and test each menu item again. All
   should work as expected.
 - Log in to the staff client as a user who does not have edit_catalogue
   permission. The "Edit" menu should no longer appear on the search
   results page.

Signed-off-by: Abbey Holt <aholt@dubuque.lib.ia.us>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-20 13:33:22 +01:00
..
pages Bug 23349: Add batch operations to staff interface catalog search results 2020-04-20 13:33:22 +01:00
acq.js
acquisitions-menu.js Bug 24347: Add a 'search to order' option similar to 'search to hold' 2020-01-30 10:58:03 +00:00
additem.js Bug 22867: UniqueItemFields preference value should be pipe-delimited 2019-06-06 16:08:47 +01:00
addorderiso2709.js Bug 24386: Prevent double form submission on adding orders to basket from a file 2020-03-27 12:13:21 +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 18707: Background jobs post disabled inputs 2019-07-15 11:27:59 +01: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 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +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 Bug 15850: Correct eslint errors in cataloging.js 2020-02-17 10:45:23 +00:00
cataloging_additem.js Bug 8643: Add important constraint to marc subfields 2020-02-11 14:33:29 +00:00
categories.js Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
charts.js Bug 17282: Ability to create charts for SQL reports 2018-10-01 13:56:35 +00:00
checkouts.js Bug 24765: Updated on date in Claims returned starts off as 12/31/1969 2020-03-27 11:50:16 +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 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +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 21296: suspend hold ignores system preference on intranet 2020-01-20 14:03:50 +00:00
ill-availability-partner.js Bug 23173: (follow-up) Display available partners 2020-04-06 11:04:59 +01:00
ill-availability.js Bug 23173: Provide core infrastructure 2020-04-06 11:04:19 +01:00
ill-list-table.js Bug 24518: Fix IE11 partner filtering 2020-03-18 17:52:13 +00:00
item_search_fields.js
letter.js Bug 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +00:00
localcovers.js
mana.js Bug 22249: Mana - Move comment process in a dedicated sub 2019-07-26 16:08:08 +01:00
marc_modification_templates.js Bug 22245: Allow copy/move from and to control fields 2020-02-19 11:28:56 +00:00
marc_subfields_structure.js Bug 10469: Display more when editing subfields in frameworks 2020-01-03 16:32:26 +00:00
members-menu.js Bug 23697: (follow-up) Add autocompletion search in patron module 2019-10-08 14:51:04 +01:00
members.js Bug 23808: (follow-up) Display card number in 'Guarantor information' in memberentry.pl 2020-03-20 15:22:47 +00:00
merge-record.js
messaging-preference-form.js Bug 22744: Changes for opac and remove JS 2019-09-23 11:57:46 +01:00
offlinecirc.js Bug 24545: (follow-up) Fix license statements 2020-02-24 13:31:27 +00:00
onboarding.js
rotating-collections.js Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
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 21245: Move 'Last patron' button into 'breadcrumb' bar 2019-10-08 14:18:21 +01:00
subscription-add.js Bug 23888: (follow-up) Wrap English string in translation function 2020-03-27 12:14:21 +00:00
table_filters.js Bug 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +00:00
tools-menu.js Bug 11897: (QA follow-up) Update of tools-menu.js 2018-10-09 15:46:08 +00:00
viewlog.js Bug 24982: (follow-up) Retain checkbox selections after for submit 2020-03-27 11:52:32 +00:00
xmlControlfield.js
z3950_search.js