]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 10 Mar 2023 14:15:23 +0000 (11:15 -0300)
commita651ff50a6819396cc24c5f6bc47110cdd001873
treea808b68563cc32fb50a987fa3de769dc79cf5627
parent65374826d2c749973c08722e94e7647251bbf4da
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>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt