Bug 11794 - restore functioning of opacSerialDefaultTab
authorOwen Leonard <oleonard@myacpl.org>
Thu, 20 Feb 2014 16:38:53 +0000 (11:38 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 10 Mar 2014 15:29:04 +0000 (15:29 +0000)
commit15ad3061b2fb11df6ecf5601d5b7d49d7792ba9f
tree46a542895f2591f6539ab212224299691ec97a66
parent19e83d9b9fd9c06211ce7738f3e0d9c428462a34
Bug 11794 - restore functioning of opacSerialDefaultTab

The opacSerialDefaultTab system preference should control whether to
show the holdings or subscriptions tab by default on the detail page for
a serial. This behavior was broken when we last updated jQueryUI because
of a change in the jQueryUI active tab class name.

This patch corrects the class on the detail page and removes the old
class from the authorities detail page (where it was unnecessary
anyway).

To test, view a serial record in the OPAC under various settings of the
opacSerialDefaultTab preference. The default tab should correctly follow
the preference.

Test in prog and Bootstrap themes.

Edit: Rebased on current master. Note that the change to
opac-auth-detail.tt is because the page never has more than one tab,
hence doesn't need the "active" designation.

Signed-off-by: Jesse Maseto <jesse@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tested in prog and bootstrap.
All tests and QA script pass.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth-detail.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-auth-detail.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt