]> git.koha-community.org Git - koha.git/commit
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)
committerPedro Amorim <pedro.amorim@ptfs-europe.com>
Tue, 18 Jul 2023 10:10:42 +0000 (10:10 +0000)
commit63962d152e5c627d3da35a6e213062b0c9169ba2
tree4603fb8a8dc19bf4956476e5efd74ed6abeaff59
parent8693820fff89b13adb23527acda835958ff2f776
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>
(cherry picked from commit 5308697ab8080915e6b4a415e37056ccdfb6ec59)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 6e99fa4ec72d02c7dcac78bf81144d58ace97c20)
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt