Bugzilla – Attachment 32036 Details for
Bug 11634
Allow renewal of item with unfilled holds if other available items can fill those holds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11634 [QA Followup 2] - Implement check for IsAvailableForItemLevelRequest
Bug-11634-QA-Followup-2---Implement-check-for-IsAv.patch (text/plain), 901 bytes, created by
Kyle M Hall (khall)
on 2014-10-07 13:00:25 UTC
(
hide
)
Description:
Bug 11634 [QA Followup 2] - Implement check for IsAvailableForItemLevelRequest
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-10-07 13:00:25 UTC
Size:
901 bytes
patch
obsolete
>From 8cf68f5f173afa5d8d3537371e225fdaf2f2eab1 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 5 Mar 2014 07:31:35 -0500 >Subject: [PATCH] Bug 11634 [QA Followup 2] - Implement check for IsAvailableForItemLevelRequest > >--- > C4/Circulation.pm | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index bd0697d..7d957fb 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -2673,7 +2673,9 @@ sub CanBookBeRenewed { > my @reservable; > foreach my $b (@borrowernumbers) { > foreach my $i (@itemnumbers) { >- if ( CanItemBeReserved( $b, $i ) ) { >+ if ( IsAvailableForItemLevelRequest($i) >+ && CanItemBeReserved( $b, $i ) ) >+ { > push( @reservable, $i ); > } > } >-- >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 11634
:
24866
|
25032
|
25148
|
25822
|
25825
|
25826
|
25827
|
25837
|
28212
|
28213
|
28214
|
31706
|
31707
|
31708
|
31709
|
32034
|
32035
|
32036
|
32037
|
32875
|
32876
|
32877
|
32878
|
33492