From 386302b91e8b8f1e6543e0c8d647a12bc7a36c30 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 4 Feb 2026 16:41:43 +0000 Subject: [PATCH] Bug 41624: Revert "Bug 35211: (QA follow-up) fix display of other results tab and move template toolkit logic outside of script array" This reverts commit c4c2a4b235ccefee0c54892c1ca1057465987918. --- .../prog/en/modules/catalogue/detail.tt | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 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 48c85790537..00dbbe60db1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -357,7 +357,7 @@ [% END %] [% IF Koha.Preference('SeparateHoldings') %] - [% IF other_holdings_count > 0 %] + [% IF other_holdings_count %] [% WRAPPER tab_item tabname= "otherholdings" %] Other holdings ([% other_holdings_count || 0 | html %]) [% END %] @@ -1763,29 +1763,23 @@ [% END %]