Bugzilla – Attachment 96203 Details for
Bug 15751
Koha offline circulation Firefox addon does not update last seen date for check-ins
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15751: Add ModDateLastSeen to ProcessOfflineReturn
Bug-15751-Add-ModDateLastSeen-to-ProcessOfflineRet.patch (text/plain), 1.06 KB, created by
Martin Renvoize
on 2019-12-11 12:14:48 UTC
(
hide
)
Description:
Bug 15751: Add ModDateLastSeen to ProcessOfflineReturn
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2019-12-11 12:14:48 UTC
Size:
1.06 KB
patch
obsolete
>From f75ec1efef682b15c8c1273028e08d42428d902d Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 11 Dec 2019 11:53:51 +0000 >Subject: [PATCH] Bug 15751: Add ModDateLastSeen to ProcessOfflineReturn > >Test plan: >1) Before the patch when one checks in something using the KOCT the last seen >date is not updated. >2) After the patch when one checks in something using the KOCT the last seen > date is updated. >--- > C4/Circulation.pm | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 3568a32639..0b736b1ca2 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -3816,6 +3816,8 @@ sub ProcessOfflineReturn { > my $itemnumber = $item->itemnumber; > my $issue = GetOpenIssue( $itemnumber ); > if ( $issue ) { >+ my $leave_item_lost = C4::Context->preference("BlockReturnOfLostItems") ? 1 : 0; >+ ModDateLastSeen( $itemnumber, $leave_item_lost ); > MarkIssueReturned( > $issue->{borrowernumber}, > $itemnumber, >-- >2.20.1
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 15751
:
96201
|
96203
|
102692
|
104074