]> git.koha-community.org Git - koha.git/commit
Bug 16816: Do not copy parameters used when duplicating a report
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 13 Sep 2016 13:41:51 +0000 (14:41 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Fri, 30 Sep 2016 08:55:23 +0000 (10:55 +0200)
commitfefd457550597e2bbcfda1317760c99852829ed2
tree303df7fb0ff8c5aa55aafe5cc3e529f4334356d8
parent28eafe0b07fc8ec387ba6d7bd37dfadd5cdf01b6
Bug 16816: Do not copy parameters used when duplicating a report

If a report is duplicated from the report list, the new report will
contain the tag (<<YEAR>> for instance), but from the reports results
page it copies the values used for the results.

Test plan:
Create a new sql report with tags
Duplicate it from the report list: no expected changes
Run it and duplicate it: the tags must not have been replaced

Signed-off-by: Andreas Roussos <arouss1980@gmail.com>
Ran and duplicated a report, the tags remained intact.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 50a37fbf5bc22bed843447be6a6603e7705fd28d)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc
reports/guided_reports.pl