From 70f0e67d01204b5b4b26df676fae2d6d1108b8ff 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 Signed-off-by: Fridolin Somers --- 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 8a4f79e875..9a46b4ac71 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 | html %]) + [% UNLESS reserveloop %] + Show holds ([% hold_count | html %]) + [% END %] [% ELSE %] [% END %] -- 2.39.5