From 5ea591efaf0ed959509ca901c8136b228e17a314 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 25 Mar 2025 16:01:21 +0000 Subject: [PATCH] Bug 37883: Fix branchspecific display of unavailable items Signed-off-by: Laura_Escamilla --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt index d1fb09eefc..e3d990a0d5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -798,7 +798,7 @@ [% ELSIF status_count == "othercount" %] [% IF SEARCH_RESULT.${status_count} > 0 %]
[% SEARCH_RESULT.${status_count} | html %] unavailable:
- [% IF Koha.Preference('FilterSearchResultsByLoggedInBranch') %] + [% IF Koha.Preference('FilterSearchResultsByLoggedInBranch') && SEARCH_RESULT.branchothercount > 0 %]
[% SEARCH_RESULT.branchothercount | html %] unavailable:
[% END %] [% END %] -- 2.39.5