]> git.koha-community.org Git - koha.git/commit
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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 9 Dec 2019 14:32:58 +0000 (14:32 +0000)
commit142a0235ad9a266aeb5fdc0f0686aabdce43f5e6
tree942b852e6d556de8c36047d1461c926f3b8ed8f9
parent9fa2818899bf4495ca94c6d311ec750d39298167
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>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt