From 73b5ed1a99ba58a5b96dde54b6f508be1d74b69d Mon Sep 17 00:00:00 2001 From: Aleisha Date: Thu, 12 May 2016 23:40:56 +0000 Subject: [PATCH] Bug 16507: Show play media tab first if record has no holdings To test: 1) Go to Admin -> Global sysprefs 2) Turn on HTML5MediaEnabled and HTML5MediaYouTube 3) Go to Cataloging and create a new record 4) Catalogue a YouTube link in 856$u and save record. Do not add any items (click Normal tab) 5) Confirm that Play media tab shows first 6) Add an item then go back to Normal tab 7) Confirm that Holdings tab now shows first and Play media tab is last Sponsored-by: Catalyst IT --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index fee31d8..faf30e6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -549,6 +549,7 @@ function verify_images() {
[% items_table_block_iter = 0 %] -- 1.7.10.4