Bugzilla – Attachment 111403 Details for
Bug 26646
Holds to Pull should show distinct item-level holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26646: Group holds to pull by item rather than bib
Bug-26646-Group-holds-to-pull-by-item-rather-than-.patch (text/plain), 1.24 KB, created by
Andrew Fuerste-Henry
on 2020-10-09 13:58:09 UTC
(
hide
)
Description:
Bug 26646: Group holds to pull by item rather than bib
Filename:
MIME Type:
Creator:
Andrew Fuerste-Henry
Created:
2020-10-09 13:58:09 UTC
Size:
1.24 KB
patch
obsolete
>From 8acb17fb8b1fca6e47de0a94dcb09c84d7d6131f Mon Sep 17 00:00:00 2001 >From: Andrew Fuerste-Henry <andrew@bywatersolutions.com> >Date: Fri, 9 Oct 2020 13:56:56 +0000 >Subject: [PATCH] Bug 26646: Group holds to pull by item rather than bib > >To test: >1 - find a bib with 2 items >2 - place an item-level hold on item 1 for patron A >3 - place an item-level hold on item 2 for patron B >4 - go to Holds to Pull >5 - it shows one entry for the bib, indicates 2 items should be pulled, but only lists patron A >6 - apply patch, restart services >7 - reload Holds to Pull, confirm it now shows two entries, one for each item >--- > circ/pendingreserves.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl >index dd6ae7699d..8bcfa6f77e 100755 >--- a/circ/pendingreserves.pl >+++ b/circ/pendingreserves.pl >@@ -243,7 +243,7 @@ if (C4::Context->preference('IndependentBranches')){ > $strsth .= " AND items.holdingbranch=? "; > push @query_params, C4::Context->userenv->{'branch'}; > } >-$strsth .= " GROUP BY reserves.biblionumber ORDER BY biblio.title "; >+$strsth .= " GROUP BY reserves.itemnumber,reserves.biblionumber ORDER BY biblio.title "; > > my $sth = $dbh->prepare($strsth); > $sth->execute(@query_params); >-- >2.11.0
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 26646
:
111403