]> git.koha-community.org Git - koha.git/commit
Bug 18497: Use report id to retrieve saved SQL instead of passing param
authorNick Clemens <nick@bywatersolutions.com>
Wed, 3 Jan 2018 13:13:40 +0000 (13:13 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 16 Feb 2018 00:27:32 +0000 (00:27 +0000)
commit5cb0da7a56353988182cebfa0d16b22a4daebbfa
tree2dc6fcc8defff0e720d8218f11c906f71e8da164
parentdeb7d1717736e00b0dbb3a45d9b41d6259d0d6ce
Bug 18497: Use report id to retrieve saved SQL instead of passing param

This patch takes some of the code when executing report and moves it to
a sub to be reused when downloading

To test:
1 - Run some very long report (see comment #1)
2 - Try to download, erk!
3 - Apply patch
4 - Run report, results hould not have changed
5 - Try to download, success!
6 - Ensure reports work as before

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc
reports/guided_reports.pl