From 0ca9a2ddc138f80cfba1a6c5568ea50c49c8ddf1 Mon Sep 17 00:00:00 2001 From: Lisette Scheer Date: Fri, 7 Nov 2025 22:24:35 +0000 Subject: [PATCH] Bug 35211: (QA follow-up) fix display of other results tab and move template toolkit logic outside of script array --- .../prog/en/modules/catalogue/detail.tt | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) 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 ab0e9c1a8ef..a673a4062ba 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -344,7 +344,7 @@ [% END %] [% IF Koha.Preference('SeparateHoldings') %] - [% IF other_holdings_count %] + [% IF other_holdings_count > 0 %] [% WRAPPER tab_item tabname= "otherholdings" %] Other holdings ([% other_holdings_count || 0 | html %]) [% END %] @@ -1750,23 +1750,29 @@ [% END %]