Koha/reports
CJ Lynce bd79cbd858
Bug 37763: Do not show SQL report editor after 'Update and run'
This patch corrects an error where the SQL editor screen would appear
after the report results when using 'Update and run SQL' when editing
reports.
This also corrects a related issue where the saved_sql.id of the report
would be repeatedly appended to SQL code when using 'Update and run
SQL'.

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) See the report runs, but at the 'Edit SQL report' screen shows at the
   bottom.
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) Verify that the report runs, but the 'Edit SQL report' section is
   gone.

Sponsored-by: Westlake Porter Public Library
Signed-off-by: Sam Sowanick <sam.sowanick@corvallisoregon.gov>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-09-13 13:54:18 +02:00
..
acquisitions_stats.pl Bug 19097: Remove wantarray from GetMarcSubfieldStructureFromKohaField 2024-04-29 09:35:46 +02:00
bor_issues_top.pl
borrowers_out.pl
borrowers_stats.pl Bug 36380: Add filter value on patron statistics report summary 2024-05-10 15:19:11 +02:00
cash_register_stats.pl Bug 37108: Cash register statistics wizard is wrongly sorting payment by manager_id branchcode 2024-07-12 10:21:29 +02:00
cat_issues_top.pl
catalog_by_itemtype.pl
catalogue_out.pl
catalogue_stats.pl Bug 19097: Remove wantarray from GetMarcSubfieldStructureFromKohaField 2024-04-29 09:35:46 +02:00
dictionary.pl
guided_reports.pl Bug 37763: Do not show SQL report editor after 'Update and run' 2024-09-13 13:54:18 +02:00
issues_avg_stats.pl
issues_stats.pl
itemslost.pl
orders_by_fund.pl
reports-home.pl
reserves_stats.pl
serials_stats.pl