Bugzilla – Attachment 174540 Details for
Bug 38239
Incorrect number of items to pull in holds to pull report with partially filled holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38239: Incorrect number of items to pull (in Holds to pull) with partially filled holds
Bug-38239-Incorrect-number-of-items-to-pull-in-Hol.patch (text/plain), 1.95 KB, created by
Marcel de Rooy
on 2024-11-15 07:31:54 UTC
(
hide
)
Description:
Bug 38239: Incorrect number of items to pull (in Holds to pull) with partially filled holds
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-11-15 07:31:54 UTC
Size:
1.95 KB
patch
obsolete
>From f339201a320b689c6055db91aea191c252167f78 Mon Sep 17 00:00:00 2001 >From: Janusz Kaczmarek <januszop@gmail.com> >Date: Wed, 23 Oct 2024 13:27:52 +0000 >Subject: [PATCH] Bug 38239: Incorrect number of items to pull (in Holds to > pull) with partially filled holds >Content-Type: text/plain; charset=utf-8 > >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> >--- > circ/pendingreserves.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl >index 366d0009af..b85cf5c90e 100755 >--- a/circ/pendingreserves.pl >+++ b/circ/pendingreserves.pl >@@ -194,7 +194,7 @@ if ( $holds->count ) { > # patrons count per biblio > my $patrons_count = { > map { $_->{biblionumber} => $_->{patrons_count} } @{ Koha::Holds->search( >- { 'suspend' => 0 }, >+ { 'suspend' => 0, 'found' => undef }, > { > select => [ 'biblionumber', { count => { distinct => 'borrowernumber' } } ], > as => [qw( biblionumber patrons_count )], >-- >2.39.5
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 38239
:
173218
|
173226
| 174540