Bugzilla – Attachment 28146 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.40 KB, created by
Kyle M Hall (khall)
on 2014-05-09 16:43:20 UTC
(
hide
)
Description:
Bug 11126 [QA Followup] - Make reserves returned by _Findgroupreserve sorted by priority
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-05-09 16:43:20 UTC
Size:
1.40 KB
patch
obsolete
>From e2d1ed75d2191fc0e9d3f188df0e079f7363cae1 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 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/C4/Reserves.pm b/C4/Reserves.pm >index 6f0891a..60df480 100644 >--- a/C4/Reserves.pm >+++ b/C4/Reserves.pm >@@ -1831,6 +1831,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); >@@ -1863,6 +1864,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); >@@ -1896,6 +1898,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); >-- >1.7.2.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 11126
:
22328
|
22329
|
22543
|
22778
|
22784
|
24195
|
25589
|
28145
|
28146
|
28181
|
28182
|
30215
|
30216
|
32189
|
32191
|
32192
|
32193
|
32195
|
32196
|
32197