]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 11 Jul 2024 19:59:10 +0000 (19:59 +0000)
commit08305283ff0175244537cab0614662cf83e595ec
tree855e0bda309fa3dd4a25da486ec5600e27b0db34
parent642acf7566fc53676d491db7a6ba604b5bdfe88b
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>
(cherry picked from commit 5f156ad3dff5db21a3d87eecf3207661ce6961f4)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt