]> git.koha-community.org Git - koha.git/commit
Bug 33063: Make sure correct subgroup is pre-selected when duplicating reports
authorKatrin Fischer <katrin.fischer.83@web.de>
Mon, 27 Feb 2023 23:45:12 +0000 (23:45 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Thu, 20 Apr 2023 08:50:06 +0000 (10:50 +0200)
commit65a19e8e8d6186d7f3c4333f6934b6d29f9497ac
treea212d25b5d531db5eebb79b6ac20780085717670
parent9a1f544ca38dbf60062e3f75aecb07c7f9ed5b0d
Bug 33063: Make sure correct subgroup is pre-selected when duplicating reports

When the 'Duplicate' option for reports was used, the all options
would be copied correctly to the new report, but the report sub group.

In this case the templates were created correctly, but the JavaScript
to create the correct pull downs for each group, overwrote the
the selection.

To test:
* Create a some reports with different groups and subgroups and without
* 'Duplicate' your reports and verify that the sub group will always stay empty
* Apply patch
* Verify the correct sub group is now always selected
* Edit/Add some reports to make sure the group/subgroup controls still
  work as expected

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a651ff50a6819396cc24c5f6bc47110cdd001873)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
(cherry picked from commit 36df529064afedcf366b7dc0f0ca79382cb1420a)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit b54b0fddcddf63417be6f2480e45ac8ec516bba9)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt