Bug 25653: Update tab selector to use 'active' and include all options
authorNick Clemens <nick@bywatersolutions.com>
Tue, 2 Jun 2020 14:00:25 +0000 (14:00 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 12 Jun 2020 08:32:35 +0000 (10:32 +0200)
commit4365b64403ba9492650e2e1733ccad8772dcdfc2
tree562bb5e91f91bcd4710cc7775fc97a96dec337c4
parent369a4e39b48456be4376292f724a787ef0b6667e
Bug 25653: Update tab selector to use 'active' and include all options

It looks like the functionality was broken when ui tabs were upgraded
and mainmainentry was added

To test:
1 - Browse to Authorities
2 - Search in each tab
3 - Note all search results revert to 'Search main heading a only'
4 - Apply patch
5 - Note selection is retained after search

Signed-off-by: Claire Gravely <claire_gravely@hotmail.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc