]> 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)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Fri, 10 Mar 2023 16:36:01 +0000 (16:36 +0000)
commit36df529064afedcf366b7dc0f0ca79382cb1420a
treeff1246a7e100ce434b218dfcb3fc16455a8f54c2
parentd0caa724542029838dc2f9ab795eb5926e55148a
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>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt