From 001d8d3ecada7c0c899d00f0c3037b270a029004 Mon Sep 17 00:00:00 2001 From: CJ Lynce Date: Thu, 29 Aug 2024 15:07:05 +0000 Subject: [PATCH] Bug 37328: Cannot delete report after using Update and Run SQL button Fixes the ability to delete a report from the report toolbar menu after running the report, including displaying the delete confirm modal. To test: 1) Login to staff client 2) Navigate to Reports -> Create from SQL 3) Create a short report (SELECT * FROM items), name it and SAVE it. 4) On the resulting "Edit SQL report' page, click 'Update and run SQL' 5) On the toolbar, click Edit -> Delete Nothing happens 6) Apply patch 7) Return to Reports -> Saved Reports and Edit the report you created. 8) On "Edit SQL report' page, click 'Update and run SQL' 9) On the toolbar, click Edit -> Delete 10) Confirm the delete modal. The report is now deleted. Sponsored-by: Westlake Porter Public Library Signed-off-by: David Nind --- koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc index bdaafec285..a1d30aee0b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc @@ -52,8 +52,8 @@ [% INCLUDE 'csrf-token.inc' %] + Delete - Delete [% END %] -- 2.39.2