Koha-clms/circ
Kyle Hall b318db02f0 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 e536229292)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 6a49c8a1b0)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
2022-06-21 14:54:10 +02:00
..
add_message.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
article-request-slip.pl Bug 29771: Scalar context for split 2022-03-11 06:35:50 -05:00
article-requests.pl Bug 27944: Add "requested" stage in article request process 2021-10-05 10:58:14 +02:00
bookcount.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
branchoverdues.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
branchtransfers.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
checkout-notes.pl Bug 29380: Correct table name in joins to prevent errors 2021-11-03 15:40:52 +01:00
circulation-home.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
circulation.pl Bug 30110: Fix concatenation during assignements 2022-03-25 10:40:18 -04:00
del_message.pl Bug 29903: Prevent messages to be deleted from unauthorised users 2022-01-25 14:44:56 -05:00
hold-transfer-slip.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
offline-mf.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
offline.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
on-site_checkouts.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
overdue.pl Bug 30282: overdues report does not display subtitle, part_name, part_number 2022-03-25 10:36:19 -04:00
pendingreserves.pl Bug 30337: Holds to Pull ( pendingreserves.pl ) ignores holds if priority 1 hold is suspended 2022-06-21 14:54:10 +02:00
renew.pl Bug 29380: Correct table name in joins to prevent errors 2021-11-03 15:40:52 +01:00
request-article.pl Bug 29093: Interface changes 2021-10-15 11:34:26 +02:00
reserveratios.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
returns.pl Bug 30630: Prevent crash on check-in if HoldsAutoFill is ON 2022-05-06 13:49:23 -04:00
set-library.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
transfer-slip.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
transfers_to_send.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
transferstoreceive.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
view_holdsqueue.pl Bug 29015: Add options for itemtype, collection, and shelving location to view_holdsqueue.pl 2021-11-03 15:40:52 +01:00
waitingreserves.pl Bug 29771: Scalar context for split 2022-03-11 06:35:50 -05:00
ysearch.pl Bug 30251: (bug 10902 follow-up) With IndependentBranches non-superlibrarians do not get autocomplete list in circulation module 2022-04-01 06:36:48 -04:00