]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Sat, 23 Oct 2021 02:13:02 +0000 (16:13 -1000)
commit74b584adfb27fa4ab22c1e0cf383f7658f21021c
tree390aefe136a0b612502d96fcd039298852f485cd
parent7fda967f6efc5147d9f4ead235f28c93293713e2
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>
(cherry picked from commit 56a98a83e7ef6b070aa1d616eb92ce3be124d273)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt