From d67dbfde1d097ba59464b0fa89fdaadf3c004eb5 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 14 Sep 2012 14:43:04 -0400 Subject: [PATCH] Bug 8559 - Conflicting item statuses - Force cancel waiting hold Content-Type: text/plain; charset="utf-8" If you check out a waiting hold to a different patron it gives the item conflicting statuses. It will both be checked out for one patron, and also waiting for a different patron. This patch solves the problem by forcing the librarian to cancel the hold if they inist on checking the item out to a different patron. --- .../prog/en/modules/circ/circulation.tt | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index c95002d..8d29796 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -370,14 +370,18 @@ function validate1(date) { [% IF ( RESERVED ) %]

- +

[% END %] [% IF ( RESERVE_WAITING ) %]

- + [%# We *must* cancel waiting holds when overriding, see bug 8559 %] + [%# This checkbox is just a visual cue that the hold will be canceled %] + + [%# This hidden input actually does the deed of canceling the waiting reserve %] +

[% END %] -- 1.7.2.5