]> git.koha-community.org Git - koha.git/commit
Bug 38239: Incorrect number of items to pull (in Holds to pull) with partially filled...
authorJanusz Kaczmarek <januszop@gmail.com>
Wed, 23 Oct 2024 13:27:52 +0000 (13:27 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 19 Nov 2024 15:35:16 +0000 (16:35 +0100)
commitabfba936fb4ffcab5d1234c3fc577ac493865c5e
treea404c9764941da596704706b8a4aa4070f0ac515
parent1c6dfb5f3558e297626e2f4a4ba361790044d550
Bug 38239: Incorrect number of items to pull (in Holds to pull) with partially filled holds

With a over-sufficient number of items, when more than one patron has
placed hold, and the holds have been partially filled (checked-in =
waiting for pick up), the number of items to pull in the Holds
to pull table shows the total number of holds, including those waiting.
This erroneously suggests to the librarian to pull an excessive number
of items from the shelves.

Test plan:
==========

1. For a bibliographic record with more than two items (in ktd, e.g.
   "Lanark a life in four books"), place hold for two patrons.
2. On the Holds to pull page control that there are two items to pull.
3. As a librarian from the library of one of the patrons, Check-in one
   item.
4. Note that in Holds to pull table you still see two items to pull,
   which is misleading.
5. Apply the patch; restart_all.
6. Now you should see only one item to be pulled.

Sponsored-by: Ignatianum University in Cracow
Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
circ/pendingreserves.pl