From 37cb3f35a324678d7af79c7ad9fa179f62a1bb7d Mon Sep 17 00:00:00 2001 From: Eric Garcia Date: Mon, 8 Jul 2024 17:11:06 +0000 Subject: [PATCH] Bug 37186: Fixed deletion of rotating collections To test: 1. Tools -> Rotating collections 2. Create a rotating collection 3. In new collection Actions -> Delete 4. Notice collection is not deleted 5. Apply patch 6. In new collection Actions -> Delete 7. Notice collection is deleted Signed-off-by: Roman Dolny Signed-off-by: Lucas Gass Signed-off-by: Katrin Fischer --- .../modules/rotating_collections/rotatingCollections.tt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt index 4ddafa0a17..8ff33f7f88 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/rotatingCollections.tt @@ -63,12 +63,7 @@
  • Manage items
  • Transfer
  • Edit
  • -
  • - [% INCLUDE 'csrf-token.inc' %] - - - Delete -
    +
  • Delete
  • @@ -97,6 +92,7 @@ [% INCLUDE 'datatables.inc' %] [% Asset.js("js/tools-menu.js") | $raw %] [% Asset.js("js/rotating-collections.js") | $raw %] + [% Asset.js("js/form-submit.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %] -- 2.39.5