Bugzilla – Attachment 152714 Details for
Bug 23336
Add an API endpoint for checking an item out to a patron
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23336: Fix inconsistent return of AddIssue
Bug-23336-Fix-inconsistent-return-of-AddIssue.patch (text/plain), 1.04 KB, created by
Martin Renvoize (ashimema)
on 2023-06-27 10:07:46 UTC
(
hide
)
Description:
Bug 23336: Fix inconsistent return of AddIssue
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-06-27 10:07:46 UTC
Size:
1.04 KB
patch
obsolete
>From 4d64013856513850958358c36da27da174cbd264 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 3 Oct 2022 17:07:20 +0100 >Subject: [PATCH] Bug 23336: Fix inconsistent return of AddIssue > >AddIssue can on occasion create a renewal instead of a fresh issue and >in such a case we currently return undefined. We should be consistent >and return the existing issue object for the renewal. > >Signed-off-by: Silvia Meakins <smeakins@eso.org> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > C4/Circulation.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index eb754c8401..ab03362e06 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -1546,6 +1546,7 @@ sub AddIssue { > $datedue, > $issuedate, # here interpreted as the renewal date > ); >+ $issue = Koha::Checkouts->find( { itemnumber => $item_object->itemnumber } ); > } > else { > >-- >2.41.0
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 23336
:
91632
|
91633
|
91634
|
150947
|
150948
|
150949
|
150954
|
150955
|
150956
|
150960
|
150961
|
150962
|
151253
|
151318
|
151319
|
151320
|
151321
|
151322
|
151353
|
151354
|
151355
|
151356
|
151357
|
152712
|
152713
| 152714 |
152715
|
152716
|
152938
|
152999
|
153000
|
153095
|
153096