]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 10 Jun 2022 16:29:59 +0000 (16:29 +0000)
commit6a49c8a1b0fa18d5941d7786a1fadb25581c00d7
tree4df5b0adfb69b65a1bc1f79a02228943a3203390
parent9371bc6ef3c70079ce7d2d2a79b2d105e8fbab7a
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>
circ/pendingreserves.pl