Bug 29225: Don't hide subgroup filter on pag load
authorNick Clemens <nick@bywatersolutions.com>
Thu, 14 Oct 2021 12:28:30 +0000 (12:28 +0000)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 22 Oct 2021 15:34:16 +0000 (11:34 -0400)
commit56a98a83e7ef6b070aa1d616eb92ce3be124d273
treee208b8978e51a3821d051ca335d8854a27b0484d
parent636644bcc3c6dd5bb21f068d3484da44d261768d
Bug 29225: Don't hide subgroup filter on pag load

When we auto select the last used tab, we hit code that hides the Subgroup
dropdown

Clicking to other tabs shows the dropdown again

There is code on the tab selection to hide subgroups on the 'All' tab,
the other line seems superfluous

To test:
1 - Create a report and assign a group and subgroup, creating if necessary
2 - Browse to "Reports->Use saved"
3 - Click on the tab for the report you just created, see the subgroups dropdown
4 - Reload the page, Subgroups dropdown disappears
5 - Apply patch
6 - Relaod the page
7 - It's back!
8 - Confirm dropdown filters as expected

Signed-off-by: Donna <donna@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt