From 56f86705c93155963609df759655a8eadd8ceb9e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 28 Jan 2022 13:05:55 +0100 Subject: [PATCH] Bug 29058: Don't display 'Show holds' button if holds are displayed Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt index e9488ea1826..1afeb692867 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -910,7 +910,9 @@ [% IF always_show_holds == 'DONT' %] - Show holds ([% hold_count %]) + [% UNLESS reserveloop %] + Show holds ([% hold_count %]) + [% END %] [% ELSE %] [% END %] -- 2.25.1