From 8553567cdbd0e8cd6f89bee4fa148279a87f2f08 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 --- 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 d1fb09eefcd..e3d990a0d59 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