From 944b6e45d66bb809b30aee4e5ae028958f8a4547 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Tue, 10 Sep 2024 20:32:53 +0000 Subject: [PATCH] Bug 37883: Minor fix-ups and perltidy Signed-off-by: Brendan Lawlor --- .../intranet-tmpl/prog/en/modules/catalogue/results.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 8e6b72623e3..12eb813dc0b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -625,15 +625,15 @@ [% IF status_count == "onloancount" %] [% IF SEARCH_RESULT.${status_count} > 0 %]
[% SEARCH_RESULT.${status_count} | html %] checked out:
- [% IF Koha.Preference('FilterSearchResultsByLoggedInBranch') %] + [% IF ( SEARCH_RESULT.branchonloancount > 0 ) && Koha.Preference('FilterSearchResultsByLoggedInBranch') %]
[% SEARCH_RESULT.branchonloancount | html %] checked out:
[% END %] [% END %] [% ELSIF status_count == "othercount" %] [% IF SEARCH_RESULT.${status_count} > 0 %] -
[% SEARCH_RESULT.${status_count} | html %] unavailable:
- [% IF Koha.Preference('FilterSearchResultsByLoggedInBranch') %] -
[% SEARCH_RESULT.branchothercount | html %] unavailable:
+
[% SEARCH_RESULT.${status_count} | html %] unavailable:
+ [% IF ( SEARCH_RESULT.branchothercount > 0 ) && Koha.Preference('FilterSearchResultsByLoggedInBranch') %] +
[% SEARCH_RESULT.branchothercount | html %] unavailable:
[% END %] [% END %] [% END %] -- 2.39.5