Bugzilla – Attachment 106024 Details for
Bug 25786
Holds Queue building may target the wrong item for item level requests that match holds queue priority
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25786: AddReserve now takes a hashref
Bug-25786-AddReserve-now-takes-a-hashref.patch (text/plain), 1.22 KB, created by
Tomás Cohen Arazi
on 2020-06-18 15:28:31 UTC
(
hide
)
Description:
Bug 25786: AddReserve now takes a hashref
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2020-06-18 15:28:31 UTC
Size:
1.22 KB
patch
obsolete
>From 6714cd4bf909760df9a9f8cf48cba50e4425c912 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 18 Jun 2020 15:13:25 +0200 >Subject: [PATCH] Bug 25786: AddReserve now takes a hashref > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/HoldsQueue.t | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/HoldsQueue.t b/t/db_dependent/HoldsQueue.t >index be3adfaab31..b9c91f89e62 100755 >--- a/t/db_dependent/HoldsQueue.t >+++ b/t/db_dependent/HoldsQueue.t >@@ -1145,8 +1145,16 @@ subtest "Test Local Holds Priority - Get correct item for item level hold" => su > ); > > my $reserve_id2 = >- AddReserve( $item2->homebranch, $local_patron->borrowernumber, >- $biblio->biblionumber, '', 2, undef, undef, undef, undef, $item2->id, undef, undef ); >+ AddReserve( >+ { >+ branchcode => $item2->homebranch, >+ borrowernumber => $local_patron->borrowernumber, >+ biblionumber => $biblio->biblionumber, >+ priority => 2, >+ itemnumber => $item2->id, >+ } >+ ); >+ > > C4::HoldsQueue::CreateQueue(); > >-- >2.27.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 25786
:
105981
|
105994
|
106010
|
106023
| 106024