]> git.koha-community.org Git - koha.git/commit
Bug 30337: Holds to Pull ( pendingreserves.pl ) ignores holds if priority 1 hold...
authorKyle Hall <kyle@bywatersolutions.com>
Tue, 22 Mar 2022 18:14:52 +0000 (14:14 -0400)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Tue, 21 Jun 2022 12:54:10 +0000 (14:54 +0200)
commitb318db02f0575cafe7eebf01faf505ba020f3bb7
treee1a4f66f69633bee6449cba382881f08c80faa5a
parent6db6676aa94d1c4ab09ded9210ed8ba88c2cc3c4
Bug 30337: Holds to Pull ( pendingreserves.pl ) ignores holds if priority 1 hold is suspended

Holds to Pull ( pendingreserves.pl ) ignores holds if priority 1 hold is suspended,
and shows the wrong number of "patrons with holds" which presumably tells the
librarian how many copies to pull from the shelves.

Test Plan:
1) Create a record with one or more holdable items
2) Place two holds on the record
3) Note they show in the holds to pull report
4) Suspend the priority 2 hold
5) Note the report continues showing that 2 patrons have holds
6) Resume the priority 2 hold
7) Suspend the priority 1 hold
8) Note the hold disappears from the holds to pull report
9) Apply this patch
10) Restart all the things!
11) Reload the holds to pull report
12) The report should show one hold that needs an item pulled to fill it!

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit e536229292617e2f6e5bade47e3fbad1a0101ea4)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 6a49c8a1b0fa18d5941d7786a1fadb25581c00d7)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
circ/pendingreserves.pl