]> git.koha-community.org Git - koha.git/commit
Bug 37328: Cannot delete report after using Update and Run SQL button
authorCJ Lynce <cj.lynce@westlakelibrary.org>
Thu, 29 Aug 2024 15:07:05 +0000 (15:07 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 30 Sep 2024 14:25:11 +0000 (15:25 +0100)
commit6befb1ac5161cdc1d82e84bc1e0f168ade2937bf
treeececc75c2376dcdab3fcdc628b3f228420499767
parent0d25a2bacfdcb5bc42bff8f131bbd1d8728c9036
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 <david@davidnind.com>
Signed-off-by: Emmi Takkinen <emmi.takkinen@koha-suomi.fi>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc