From 30731e624539cd71507b27aa7b1aad46d689152a Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Wed, 15 Feb 2017 22:52:45 +0000 Subject: [PATCH] Bug 12759: Use a list (shelf) for batch record modification and deletion To test: 1) Create a list, add a record to it by its barcode that you don't mind deleting 2) Go to Tools -> Batch record modification 3) Select the record type 'Authorities'. Confirm the dropdown to select a list disappears. Confirm selecting 'Biblios' makes the dropdown show again. 4) Select the list from the dropdown, select a modification template, Continue 5) Confirm all of the records in that list show on the page. Click Modify selected records. Confirm this is successful. 6) Go to Batch record deletion 7) Select the list from the dropdown and click Continue 8) Confirm all of the records in that list show on the page. Click Delete selected records. Confirm this is successful. 9) Go back to your lists. The list should still exist but it will now be empty. Sponsored-by: Catalyst IT --- .../prog/en/modules/tools/batch_delete_records.tt | 15 +++++++++++++++ .../en/modules/tools/batch_record_modification.tt | 22 ++++++++++++++++++++++ tools/batch_delete_records.pl | 11 +++++++++++ tools/batch_record_modification.pl | 11 +++++++++++ 4 files changed, 59 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt index 7962a9f..5501cc3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt @@ -135,6 +135,21 @@ $(document).ready(function() {
+ Or select a list of records +
    +
  1. + + +
  2. +
+
+
Or enter a list of record numbers
  1. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt index 32034a5..6620e34 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt @@ -9,6 +9,13 @@