From 95811a29993cd7718e90e4fcb37344a61e000fe4 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 2 Jul 2015 05:29:06 -0400 Subject: [PATCH] Bug 11250: "too many holds" message appears inappropriately This patch gives the various reasons precedence in this order: 1) Already in possesion 2) Already on hold 3) Age restricted 4) No items available 5) Too many holds Test Plan: 1) Attempt to place a hold where both "too many holds" and "no items available" messages display 2) Apply this patch 3) Refresh 4) Note only the "no items available" message displays Signed-off-by: Heather Braum Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/reserve/request.tt | 22 ++++++++----------- 1 file changed, 9 insertions(+), 13 deletions(-) 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 fd058879c9..6ebafd6978 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -304,20 +304,16 @@ function checkMultiHold() { [% UNLESS ( multi_hold ) %]

Cannot place hold

[% ELSE %] @@ -805,7 +801,7 @@ function checkMultiHold() { Set to lowest priority [% END %] - + [% END %] -- 2.39.5