Bug 31308: (QA follow-up) use count to see if no items present

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2022-08-10 11:53:13 +00:00 committed by Tomas Cohen Arazi
parent 62667dbb91
commit 25de03ab10
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -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 %]