Bug 23246: Only jump into the 'images' tab HTML5MediaEnabled is set
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 1 Jul 2019 16:16:42 +0000 (13:16 -0300)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 16 Dec 2019 17:54:39 +0000 (17:54 +0000)
commit7a9d8937f753685471dfde7a62c5871062d41a11
tree4bec03d18be93584fb21282b388e010c6e636951
parent98a2090a0e2abd64d7d4c38c5f1f811cb91e5b99
Bug 23246: Only jump into the 'images' tab HTML5MediaEnabled is set

This patch makes jumping into the third tab happen only if
HTML5MediaEnabled is set to 'both' or 'staff'.

To test:
- Have HTML5MediaEnabled set to 'opac' or 'not at all'
- Open the detail page of a record with no holdings
=> FAIL: The 'images' tab is selected
- Apply this patch
- Reload
=> SUCCESS: The 'holdings' tab is selected as it should be.
- Sign off :-D

Sponsored-by: America Numismatic Society
Signed-off-by: Maryse Simard <maryse.simard@inlibro.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt