Bugzilla – Attachment 106166 Details for
Bug 25783
Holds Queue treating item-level holds as bib-level
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25783: Modify calls to AddReserve to match Koha 19.11.x AddReserve prototype
Bug-25783-Modify-calls-to-AddReserve-to-match-Koha.patch (text/plain), 1.54 KB, created by
Kyle M Hall (khall)
on 2020-06-22 13:26:33 UTC
(
hide
)
Description:
Bug 25783: Modify calls to AddReserve to match Koha 19.11.x AddReserve prototype
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2020-06-22 13:26:33 UTC
Size:
1.54 KB
patch
obsolete
>From f07b047b7c29ce4908e5f29e227e1fadab692b6f Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 22 Jun 2020 09:25:54 -0400 >Subject: [PATCH] Bug 25783: Modify calls to AddReserve to match Koha 19.11.x > AddReserve prototype > >--- > t/db_dependent/HoldsQueue.t | 19 ++----------------- > 1 file changed, 2 insertions(+), 17 deletions(-) > >diff --git a/t/db_dependent/HoldsQueue.t b/t/db_dependent/HoldsQueue.t >index 48360287de..ca48b4b9de 100755 >--- a/t/db_dependent/HoldsQueue.t >+++ b/t/db_dependent/HoldsQueue.t >@@ -1052,24 +1052,9 @@ subtest "Item level holds info is preserved (Bug 25738)" => sub { > ); > > # Add item-level hold for patron_1 >- my $reserve_id_1 = AddReserve( >- { >- branchcode => $library->branchcode, >- borrowernumber => $patron_1->borrowernumber, >- biblionumber => $biblio->id, >- itemnumber => $item_1->itemnumber, >- priority => 1 >- } >- ); >+ my $reserve_id_1 = AddReserve( $library->branchcode, $patron_1->borrowernumber, $biblio->id, undef, 1, undef, undef, undef, undef, $item_1->itemnumber ); > >- my $reserve_id_2 = AddReserve( >- { >- branchcode => $library->branchcode, >- borrowernumber => $patron_2->borrowernumber, >- biblionumber => $biblio->id, >- priority => 2 >- } >- ); >+ my $reserve_id_2 = AddReserve( $library->branchcode, $patron_2->borrowernumber, $biblio->id, undef, 2 ); > > C4::HoldsQueue::CreateQueue(); > >-- >2.24.1 (Apple Git-126)
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 25783
:
105973
|
105974
|
105982
|
105983
|
105984
|
105992
|
105993
| 106166