]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Oct 2021 08:21:50 +0000 (10:21 +0200)
commit751cae0ef8214343379aaf5d8991bd11f8f00905
tree93666305d82c7f9eaed8b19ed1ffd04bf030a4e1
parent85f6781562ef4cbe13eb0d94b97bddd4897f11f5
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>
koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt