Bugzilla – Attachment 46541 Details for
Bug 9805
Lost items are un-lost if returned, but not if renewed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9805 [QA Followup] - Fix QA Issue
Bug-9805-QA-Followup---Fix-QA-Issue.patch (text/plain), 1.15 KB, created by
Kyle M Hall (khall)
on 2016-01-12 15:40:40 UTC
(
hide
)
Description:
Bug 9805 [QA Followup] - Fix QA Issue
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-01-12 15:40:40 UTC
Size:
1.15 KB
patch
obsolete
>From 33badcac1b8cec87dfcf4258a6e4f57ca1202f78 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 12 Jan 2016 15:39:15 +0000 >Subject: [PATCH] Bug 9805 [QA Followup] - Fix QA Issue > >--- > C4/Circulation.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index b146ac7..8f4631b 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -2943,11 +2943,12 @@ sub AddRenewal { > # Update the renewal count on the item, and tell zebra to reindex > $renews = $biblio->{'renewals'} + 1; > >+ my $borrower = C4::Members::GetMember( borrowernumber => $borrowernumber ); > my $schema = Koha::Database->new()->schema(); > my $rule = $schema->resultset('DefaultBranchCircRule')->single( { branchcode => _GetCircControlBranch( $item, $borrower ) } ); > $rule ||= $schema->resultset('DefaultCircRule')->single(); > >- # If item was lost, it has now been found, reverse any list item charges if neccessary. >+ # If item was lost, it has now been found, reverse any list item charges if necessary. > my $itemlost = 0; > if ( $item->{itemlost} ) { > $itemlost = 1; >-- >2.1.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 9805
:
16089
|
16090
|
16302
|
29214
|
37008
|
38430
|
38432
|
38433
|
45411
|
45412
|
45413
|
46539
|
46540
|
46541
|
47616
|
47617
|
47618
|
47619
|
48779
|
48780
|
48781
|
49091
|
49092
|
49093
|
49165
|
162473