[Koha-bugs] [Bug 24488] Holds to Pull sometimes shows the wrong 'first patron' details

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 20 10:54:53 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24488

--- Comment #128 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I thought a bit more about the priority=1 thing this morning.

And actually I have the feeling that the original issue described on this bug
report could be fixed with the following (...one line!) change:

diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl
index 01cf877b55..962ebe5609 100755
--- a/circ/pendingreserves.pl
+++ b/circ/pendingreserves.pl
@@ -230,7 +230,7 @@ my $strsth =
     AND items.itemnumber NOT IN (SELECT itemnumber FROM branchtransfers where
datearrived IS NULL)
     AND items.itemnumber NOT IN (SELECT itemnumber FROM reserves WHERE found
IS NOT NULL AND itemnumber IS NOT NULL)
     AND issues.itemnumber IS NULL
-    AND reserves.priority <> 0 
+    AND reserves.priority = 1
     AND reserves.suspend = 0
     AND notforloan = 0 AND itemlost = 0 AND withdrawn = 0
     AND ( circulation_rules.rule_value IS NULL OR circulation_rules.rule_value
!= 0 )

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list