From 636b8b70629d08a2a915a536ae1d65e6f075a832 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 --- .../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 fd05887..6ebafd6 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.1.0