From c62a65f5bb14e621e795095f6311e6613caeaf4a 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 --- .../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 a6a8f91..244ebf2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -303,20 +303,16 @@ function checkMultiHold() { [% UNLESS ( multi_hold ) %]

Cannot place hold

[% ELSE %] @@ -796,7 +792,7 @@ function checkMultiHold() { Set to lowest priority [% END %] - + [% END %] -- 1.7.10.4