Bugzilla – Attachment 79378 Details for
Bug 21373
Checkout not possible when biblio level hold but other items could satisfy it
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21373: allow checkout if other availabe items can satisfy hold
0002-Bug-21373-allow-checkout-if-other-availabe-items-can.patch (text/plain), 1.02 KB, created by
Joonas Kylmälä
on 2018-09-25 14:11:39 UTC
(
hide
)
Description:
Bug 21373: allow checkout if other availabe items can satisfy hold
Filename:
MIME Type:
Creator:
Joonas Kylmälä
Created:
2018-09-25 14:11:39 UTC
Size:
1.02 KB
patch
obsolete
>From 433e4e8a7a937951eec8532e349f693701831d79 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= <joonas.kylmala@helsinki.fi> >Date: Tue, 25 Sep 2018 13:32:17 +0000 >Subject: [PATCH 2/2] Bug 21373: allow checkout if other availabe items can > satisfy hold > >To test: > 1. Have biblio record with two items and make one biblio level hold for it > 2. Notice that without this patch checking out an item to patron is not > possible, and with this patch applied it is possible. >--- > C4/Circulation.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index ad95ea5..22dcd7e 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -980,7 +980,7 @@ sub CanBookBeIssued { > } > } > >- unless ( $ignore_reserves ) { >+ unless ( $ignore_reserves || IsItemAvailableForCheckout($item->{itemnumber}) ) { > # See if the item is on reserve. > my ( $restype, $res ) = C4::Reserves::CheckReserves( $item->{'itemnumber'} ); > if ($restype) { >-- >2.7.4 >
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 21373
:
79377
|
79378