Bug 11175: (QA follow-up) Display components tab if no holdings
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 12 Oct 2021 09:31:47 +0000 (10:31 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 26 Oct 2021 14:46:02 +0000 (16:46 +0200)
commit304247d326f6de073364098850dcd091985f8315
treeef863ab9e89a1f4ad1322f78d644590733423689
parent85e6e197fbe4b1d72a58f9c296159f8ce9326eb5
Bug 11175: (QA follow-up) Display components tab if no holdings

This patch updates the default details tab selection to components for
the case when there are no holdings attached to the record and there is
no HTML5 content to display in preference.

Bug 11175: (QA follow-up) OPAC - Display components tab if no holdings

As for the staff client, this selects the default tab to be 'Components'
for the case where no holdings are found.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
opac/opac-detail.pl