Bugzilla – Attachment 146041 Details for
Bug 27992
When recording local use with statistical patron items are not checked in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27992: Call AddReturn when checking in localuse item
Bug-27992-Call-AddReturn-when-checking-in-localuse.patch (text/plain), 771 bytes, created by
Lucas Gass (lukeg)
on 2023-02-02 22:48:47 UTC
(
hide
)
Description:
Bug 27992: Call AddReturn when checking in localuse item
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-02-02 22:48:47 UTC
Size:
771 bytes
patch
obsolete
>From 43840a37840a9327cf50e26ff52efd74e649865d Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 2 Feb 2023 22:47:49 +0000 >Subject: [PATCH] Bug 27992: Call AddReturn when checking in localuse item > >--- > C4/Circulation.pm | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 6fcd4918200..c06353943d3 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -827,6 +827,9 @@ sub CanBookBeIssued { > } > ); > ModDateLastSeen( $item_object->itemnumber ); # FIXME Move to Koha::Item >+ if ( $item_object->onloan ) { >+ AddReturn( $item_object->barcode, C4::Context->userenv->{'branch'} ); >+ } > return( { STATS => 1 }, {}); > } > >-- >2.30.2
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 27992
:
126865
|
127189
|
128633
|
128634
|
146041
|
158011
|
158073
|
158086
|
158216
|
158217
|
158462
|
158463
|
158464
|
158465
|
158900