Bugzilla – Attachment 83748 Details for
Bug 19945
ILSDI - Return the reason a reserve is impossible
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19945: Use CanItemBeReserved in ILSDI HoldItem instead of CanBookBeReserved.
Bug-19945-Use-CanItemBeReserved-in-ILSDI-HoldItem-.patch (text/plain), 1.17 KB, created by
Kyle M Hall (khall)
on 2019-01-09 14:55:40 UTC
(
hide
)
Description:
Bug 19945: Use CanItemBeReserved in ILSDI HoldItem instead of CanBookBeReserved.
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2019-01-09 14:55:40 UTC
Size:
1.17 KB
patch
obsolete
>From 638920edb2b54bef912179ccccf6f9c235045f4a Mon Sep 17 00:00:00 2001 >From: Alex Arnaud <alex.arnaud@biblibre.com> >Date: Tue, 18 Sep 2018 13:05:26 +0000 >Subject: [PATCH] Bug 19945: Use CanItemBeReserved in ILSDI HoldItem instead of > CanBookBeReserved. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > C4/ILSDI/Services.pm | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > >diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm >index 72789942e1..89b8dab42c 100644 >--- a/C4/ILSDI/Services.pm >+++ b/C4/ILSDI/Services.pm >@@ -740,9 +740,8 @@ sub HoldItem { > return { code => 'RecordNotFound' } if $$item{biblionumber} ne $biblio->biblionumber; > > # Check for item disponibility >- # CanItemBeReserved codes are passed back too. >- my $canbookbereserved = C4::Reserves::CanBookBeReserved( $borrowernumber, $biblionumber )->{status}; >- return { code => $canbookbereserved } unless $canbookbereserved eq 'OK'; >+ my $canitembereserved = C4::Reserves::CanItemBeReserved( $borrowernumber, $itemnumber )->{status}; >+ return { code => $canitembereserved } unless $canitembereserved eq 'OK'; > > # Pickup branch management > my $branch; >-- >2.17.2 (Apple Git-113)
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 19945
:
70409
|
73351
|
73352
|
75688
|
75689
|
79046
|
79047
|
79048
|
79049
|
81371
|
81372
|
81373
|
81374
|
83745
|
83746
|
83747
| 83748