]> git.koha-community.org Git - koha.git/commit
Bug 37187: Fix deletion of label batches and label templates
authorOwen Leonard <oleonard@myacpl.org>
Wed, 26 Jun 2024 14:56:58 +0000 (14:56 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 28 Jun 2024 11:49:19 +0000 (13:49 +0200)
commit5f156ad3dff5db21a3d87eecf3207661ce6961f4
tree5b10fb4c4e2a8e61dab3474c38a79cfda44a4ee2
parentb18664ec45ffbe761c50b6daca487c3222f8a5e0
Bug 37187: Fix deletion of label batches and label templates

This patch uses the new form-submit JS to convert the label management
deletion link from a GET operation to POST.

To test, apply the patch and go to Cataloging -> Label creator.

- Click Manage -> Label batches. Create a batch if necessary.
- Click the "Delete" button in the "Actions" column. You should get a
  confirmation message, "Are you sure you want to delete this?"
  - Test both the confirming and cancelling.
- Perform the same test with Manage -> Label templates.
- From the Manage -> Label batches page, click "edit" on one of the
  batches.
- Right above the "Items in batch number X" is a toolbar which should
  have a button, "Delete batch." Test that it works correctly to delete
  the batch.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt