Bugzilla – Attachment 32192 Details for
Bug 11126
Make the holds system optionally give precedence to local holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11126 [QA Followup] - Make reserves returned by _Findgroupreserve sorted by priority
Bug-11126-QA-Followup---Make-reserves-returned-by-.patch (text/plain), 1.38 KB, created by
Jonathan Druart
on 2014-10-10 18:59:23 UTC
(
hide
)
Description:
Bug 11126 [QA Followup] - Make reserves returned by _Findgroupreserve sorted by priority
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-10-10 18:59:23 UTC
Size:
1.38 KB
patch
obsolete
>From 49ddb804eed096cd4ac7527883de3b415b55e62d Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 24 Feb 2014 11:32:39 -0500 >Subject: [PATCH] Bug 11126 [QA Followup] - Make reserves returned by > _Findgroupreserve sorted by priority > >--- > C4/Reserves.pm | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/C4/Reserves.pm b/C4/Reserves.pm >index bb70713..c4fe7c0 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -1890,6 +1890,7 @@ sub _Findgroupreserve { > AND itemnumber = ? > AND reservedate <= DATE_ADD(NOW(),INTERVAL ? DAY) > AND suspend = 0 >+ ORDER BY priority > /; > my $sth = $dbh->prepare($item_level_target_query); > $sth->execute($itemnumber, $lookahead||0); >@@ -1922,6 +1923,7 @@ sub _Findgroupreserve { > AND hold_fill_targets.itemnumber = ? > AND reservedate <= DATE_ADD(NOW(),INTERVAL ? DAY) > AND suspend = 0 >+ ORDER BY priority > /; > $sth = $dbh->prepare($title_level_target_query); > $sth->execute($itemnumber, $lookahead||0); >@@ -1955,6 +1957,7 @@ sub _Findgroupreserve { > AND (reserves.itemnumber IS NULL OR reserves.itemnumber = ?) > AND reserves.reservedate <= DATE_ADD(NOW(),INTERVAL ? DAY) > AND suspend = 0 >+ ORDER BY priority > /; > $sth = $dbh->prepare($query); > $sth->execute( $biblio, $bibitem, $itemnumber, $lookahead||0); >-- >2.1.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 11126
:
22328
|
22329
|
22543
|
22778
|
22784
|
24195
|
25589
|
28145
|
28146
|
28181
|
28182
|
30215
|
30216
|
32189
|
32191
|
32192
|
32193
|
32195
|
32196
|
32197