From d2ca1671d01e8465de611658ca313b1d6d39c8b1 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 --- .../prog/en/modules/tools/batch_delete_records.tt | 22 ++++++++++++++++++++++ .../en/modules/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 0e8818e434..1c92dfd07d 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 @@