From 7de3a10d77b82233a0c47633a9d67869277fa54d Mon Sep 17 00:00:00 2001
From: Nick Clemens <nick@bywatersolutions.com>
Date: Wed, 10 Aug 2022 11:53:13 +0000
Subject: [PATCH] Bug 31308: (QA follow-up) use count to see if no items
 present

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
---
 koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt
index 86cce455c2..50c83759f2 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt
@@ -222,7 +222,7 @@
                                     <tr>
                                         <th scope="row">Location(s)</th>
                                         <td>
-                                            [% IF BIBLIO_RESULT.ITEM_RESULTS %]
+                                            [% IF BIBLIO_RESULT.ITEM_RESULTS.count %]
                                                 [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %]
                                                     <p>
                                                         [% Branches.GetName(ITEM_RESULT.holdingbranch) | html %]
-- 
2.30.2