From 7d2bae489f690ce91e3cd24f9594189be080cea4 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 record type 'Authorities'. Confirm the dropdown to select a list disappears. Confirm selecting 'Biblios' makes the dropdown show again. 8) Select the list from the dropdown and click Continue 9) Confirm all of the records in that list show on the page. Click Delete selected records. Confirm this is successful. 10) Go back to your lists. The list should still exist but it will now be empty. Sponsored-by: Catalyst IT NOTE: Rebased to work -- Mark Tompsett Signed-off-by: Charles Farmer Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize --- .../en/modules/tools/batch_delete_records.tt | 22 +++++++++++++++++++ .../tools/batch_record_modification.tt | 22 +++++++++++++++++++ tools/batch_delete_records.pl | 11 ++++++++++ tools/batch_record_modification.pl | 11 ++++++++++ 4 files changed, 66 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 82d3e725da..4b33b1d42c 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 @@ -71,6 +71,21 @@
  • +
    + Or select a list of records +
      +
    1. + + +
    2. +
    +
    Or enter a list of record numbers
      @@ -190,6 +205,13 @@