From bd5ecd73304d018e4a19d7196a25fddaf36b7bd4 Mon Sep 17 00:00:00 2001 From: Paul Derscheid Date: Fri, 6 Mar 2026 18:31:14 +0100 Subject: [PATCH] Bug 41582: (QA follow-up) Restore missing components case in defaulttab switch - The tidy dropped the components case from the TT SWITCH/CASE conversion to JS switch, causing records with defaulttab set to components to fall through to the default holdings tab To test: - Open an OPAC detail page for a record with components - Verify the components tab is selected by default Signed-off-by: Paul Derscheid --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 033af536386..e5e01fe3ad5 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -1934,6 +1934,7 @@ switch (defaulttab){ case 'holdings': + case 'components': case 'descriptions': case 'subscriptions': case 'serialcollection': -- 2.39.5