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 b26b5e5db3..46d6e48c91 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt
@@ -756,9 +756,9 @@
, None available
[% END %]
- [% IF SEARCH_RESULT.branchtotalcount > 0 && Koha.Preference('FilterSearchResultsByLoggedInBranch') %]
+ [% IF SEARCH_RESULT.branchtotalcount.size && Koha.Preference('FilterSearchResultsByLoggedInBranch') %]
- [% tnx('{count} item', '{count} items', SEARCH_RESULT.branchtotalcount, {count = SEARCH_RESULT.branchtotalcount}) | html %][% IF ( SEARCH_RESULT.branchavailablecount ) %]
+ [% tnx('{count} local item', '{count} local items', SEARCH_RESULT.branchtotalcount, {count = SEARCH_RESULT.branchtotalcount}) | html %][% IF ( SEARCH_RESULT.branchavailablecount ) %]
, [% SEARCH_RESULT.branchavailablecount | html %] available:
[% ELSE %]
, None available
@@ -774,9 +774,9 @@
, None available
[% END %]
- [% IF SEARCH_RESULT.branchtotalcount > 0 %]
+ [% IF SEARCH_RESULT.branchtotalcount.size %]
- [% tnx('{count} item', '{count} items', SEARCH_RESULT.branchtotalcount, {count = SEARCH_RESULT.branchtotalcount}) | html %][% IF ( SEARCH_RESULT.branchavailablecount ) %]
+ [% tnx('{count} local item', '{count} local items', SEARCH_RESULT.branchtotalcount, {count = SEARCH_RESULT.branchtotalcount}) | html %][% IF ( SEARCH_RESULT.branchavailablecount ) %]
, [% SEARCH_RESULT.branchavailablecount | html %] available:
[% ELSE %]
, None available
@@ -880,10 +880,10 @@
[% ELSE %]
No items
[% END %]
+ [% IF SEARCH_RESULT.branchtotalcount.size && Koha.Preference('FilterSearchResultsByLoggedInBranch') %]
+ No items
+ [% END %]
[% END # /IF ( SEARCH_RESULT.items_count ) %]
- [% IF SEARCH_RESULT.branchtotalcount == 0 && Koha.Preference('FilterSearchResultsByLoggedInBranch') %]
- No items
- [% END %]