Bug 33897: (QA follow-up) Correct code for tab selection
authorOwen Leonard <oleonard@myacpl.org>
Fri, 9 Jun 2023 17:19:28 +0000 (17:19 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 12 Jun 2023 19:53:24 +0000 (16:53 -0300)
commit5308697ab8080915e6b4a415e37056ccdfb6ec59
treecf007de027c7691309859d8bec023cbeade35735
parent59c2a77ab78dfcfa57429cff1d8f6e0e994554c2
Bug 33897: (QA follow-up) Correct code for tab selection

This patch corrects the code for selecting tabs other than the first
tab.

To test, apply the patch and view the bibliographic detail page for a
serial record and with various settings of the opacSerialDefaultTab
system preference.

If you select "subscriptions tab" the subscriptions tab should be active
by default.

You can also enable html5media and view a record with html5media
information and no holdings. The media tab should be displayed by
default.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt