]> git.koha-community.org Git - koha.git/commit
Bug 16507: Show play media tab first if record has no holdings
authorAleisha <aleishaamohia@hotmail.com>
Thu, 30 Jun 2016 00:03:23 +0000 (00:03 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 13 Sep 2016 07:06:21 +0000 (09:06 +0200)
commit1b552dd0044c71044055f078de91aaa5a069525d
treedac48718a69460a9f05239b61734665c891991a7
parentb4fe03c4c1416db1bfc7a3e29f63d51ae0b00e1b
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 is the selected tab by default
6) View record on OPAC and confirm Play media tab is selected by default
7) Go back to staff client, add an item then go back to Normal tab
8) Confirm that Holdings tab is now selected by default
9) Confirm Holdings tab is selected by default on OPAC

Sponsored-by: Catalyst IT
Signed-off-by: Claire Gravely <c.gravely@arts.ac.uk>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 7da5fb81758777d4e8000c9688fab2814e82506d)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
opac/opac-detail.pl