From dc6c27ef90eab6342f902dd3c3e09eaeca34bbe0 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 --- .../prog/en/modules/reserve/request.tt | 22 ++++++++----------- 1 files 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 80be359..f32a2bf 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 %] @@ -802,7 +798,7 @@ function checkMultiHold() { Set to lowest priority [% END %] - + [% END %] -- 1.7.2.5