From fdda3d48d167d3fb8ade381adf7ecc7dca142a6e Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Sun, 30 Dec 2007 19:23:30 -0600 Subject: [PATCH] Fix for bug 1708 Signed-off-by: Joshua Ferraro --- C4/Reserves.pm | 3 ++- .../prog/en/modules/reserve/request.tmpl | 21 +++++++------------ 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 8a850e65ef..847f7d1992 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -1037,12 +1037,13 @@ sub _FixPriority { # get whats left # FIXME adding a new security in returned elements for changing priority, # now, we don't care anymore any reservations with itemnumber linked (suppose a waiting reserve) + # This is wrong a waiting reserve has W set + # The assumption that having an itemnumber set means waiting is wrong and should be corrected any place it occurs my $query = qq/ SELECT borrowernumber, reservedate, constrainttype FROM reserves WHERE biblionumber = ? AND cancellationdate IS NULL - AND itemnumber IS NULL AND ((found <> 'F' and found <> 'W') or found is NULL) ORDER BY priority ASC /; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl index ba8812e944..bc64e2f0bb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tmpl @@ -306,17 +306,10 @@ if (alreadyreserved > "0"){ @@ -329,12 +322,12 @@ if (alreadyreserved > "0"){ - Item waiting at " /> + Item waiting at " /> Waiting to be pulled - Item being transfered to " /> + Item being transfered to " /> +
-- 2.39.5