From 73e0755d1cf6fe02be574b376804c19753749cb0 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 18 Sep 2013 16:17:42 -0400 Subject: [PATCH] Bug 10912 - Streamline hold error messages in staff interface Right now, if a patron cannot place a hold on any items on a record, the error in the staff intranet looks like this: Cannot place hold Too Many Holds: Kyle Hall has too many holds. No copies are available to be placed on hold This can confuse some librarians, because the reason the patron cannot place the hold is not because the patron has too many holds, but only because there are no copies available. Test Plan: 1) Attempt to place a hold on a record where none of the items are holdable. 2) Note the error messages 3) Apply this patch 4) Repeat step 1 5) Note only the correct error message displays --- .../prog/en/modules/reserve/request.tt | 13 +++++-------- 1 files changed, 5 insertions(+), 8 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 cafc072..2470955 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -243,16 +243,13 @@ function checkMultiHold() { [% UNLESS ( multi_hold ) %]

Cannot place hold

-- 1.7.2.5