Bugzilla – Attachment 174538 Details for
Bug 33641
We should record return library in old checkouts (oldissues)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33641: (follow-up) Add field to api spec
Bug-33641-follow-up-Add-field-to-api-spec.patch (text/plain), 1.82 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-11-14 21:28:12 UTC
(
hide
)
Description:
Bug 33641: (follow-up) Add field to api spec
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-11-14 21:28:12 UTC
Size:
1.82 KB
patch
obsolete
>From dcd9f06ff8d3ac401315846a25095febf642a284 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 14 Nov 2024 20:43:52 +0000 >Subject: [PATCH] Bug 33641: (follow-up) Add field to api spec > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Edit: I changed the attribute name to match our guidelines (tcohen) >--- > Koha/Checkout.pm | 1 + > Koha/Old/Checkout.pm | 1 + > api/v1/swagger/definitions/checkout.yaml | 5 +++++ > 3 files changed, 7 insertions(+) > >diff --git a/Koha/Checkout.pm b/Koha/Checkout.pm >index 8b97cf8b369..d0d460ec3ca 100644 >--- a/Koha/Checkout.pm >+++ b/Koha/Checkout.pm >@@ -223,6 +223,7 @@ on the API. > > sub to_api_mapping { > return { >+ checkin_library => 'checkin_library_id', > issue_id => 'checkout_id', > borrowernumber => 'patron_id', > itemnumber => 'item_id', >diff --git a/Koha/Old/Checkout.pm b/Koha/Old/Checkout.pm >index 2967a78afe4..abd19d8bb64 100644 >--- a/Koha/Old/Checkout.pm >+++ b/Koha/Old/Checkout.pm >@@ -148,6 +148,7 @@ on the API. > > sub to_api_mapping { > return { >+ checkin_library => 'checkin_library_id', > issue_id => 'checkout_id', > borrowernumber => 'patron_id', > itemnumber => 'item_id', >diff --git a/api/v1/swagger/definitions/checkout.yaml b/api/v1/swagger/definitions/checkout.yaml >index 4ace091bd58..15211a1d854 100644 >--- a/api/v1/swagger/definitions/checkout.yaml >+++ b/api/v1/swagger/definitions/checkout.yaml >@@ -36,6 +36,11 @@ properties: > - "null" > format: date-time > description: Date the item was returned >+ checkin_library_id: >+ type: >+ - string >+ - "null" >+ description: Internal library identifier for the library at which the item was returned > last_renewed_date: > type: > - string >-- >2.47.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 33641
:
170105
|
170106
|
170107
|
170108
|
170109
|
170110
|
170111
|
170138
|
170139
|
170140
|
170141
|
173562
|
173563
|
173564
|
173565
|
174510
|
174511
|
174512
|
174513
|
174514
|
174536
| 174538 |
174569
|
174570
|
174571
|
174572
|
174573
|
174574
|
174584
|
174585