Bugzilla – Attachment 105011 Details for
Bug 24301
Holds to pull: Name of borrower on list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24301: Retrieve patron's info for hold with priority = 1
Bug-24301-Retrieve-patrons-info-for-hold-with-prio.patch (text/plain), 1.26 KB, created by
Jonathan Druart
on 2020-05-18 11:04:02 UTC
(
hide
)
Description:
Bug 24301: Retrieve patron's info for hold with priority = 1
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-05-18 11:04:02 UTC
Size:
1.26 KB
patch
obsolete
>From 713de775b4d34046c057c3e05a41125d4fe6da26 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 18 May 2020 12:59:47 +0200 >Subject: [PATCH] Bug 24301: Retrieve patron's info for hold with priority = 1 > >And not the first one in the table. > >Can we always assume there is a priority=1? > >Test plan: >Check an item out >Place some item level hold on the item >Change the some priotities of the hold >Go to the holds to pull list >Note that the patron who is the next in the list (piority=1) is listed >--- > circ/pendingreserves.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl >index 7f2062942a..f59b95900c 100755 >--- a/circ/pendingreserves.pl >+++ b/circ/pendingreserves.pl >@@ -225,7 +225,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 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 ) >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24301
:
105011
|
105045
|
105139