Bugzilla – Attachment 170782 Details for
Bug 37639
items.stack ( shelving control number ) not included in items API endpoint
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37639: Map items.stack as shelving_control_number in API
Bug-37639-Map-itemsstack-as-shelvingcontrolnumber-.patch (text/plain), 1.37 KB, created by
Lucas Gass
on 2024-08-27 20:01:30 UTC
(
hide
)
Description:
Bug 37639: Map items.stack as shelving_control_number in API
Filename:
MIME Type:
Creator:
Lucas Gass
Created:
2024-08-27 20:01:30 UTC
Size:
1.37 KB
patch
obsolete
>From f204651413511aadc378f49ab0aa8fa51e521d5d Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Tue, 27 Aug 2024 19:59:41 +0000 >Subject: [PATCH] Bug 37639: Map items.stack as shelving_control_number in API > >--- > Koha/Item.pm | 2 +- > api/v1/swagger/definitions/item.yaml | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/Koha/Item.pm b/Koha/Item.pm >index ac06dd9dc07..6288b967a1e 100644 >--- a/Koha/Item.pm >+++ b/Koha/Item.pm >@@ -1770,7 +1770,7 @@ sub to_api_mapping { > replacementpricedate => 'replacement_price_date', > datelastborrowed => 'last_checkout_date', > datelastseen => 'last_seen_date', >- stack => 'stack', >+ stack => 'shelving_control_number', > notforloan => 'not_for_loan_status', > damaged => 'damaged_status', > damaged_on => 'damaged_date', >diff --git a/api/v1/swagger/definitions/item.yaml b/api/v1/swagger/definitions/item.yaml >index 4c443433763..a5db31d3dbf 100644 >--- a/api/v1/swagger/definitions/item.yaml >+++ b/api/v1/swagger/definitions/item.yaml >@@ -184,7 +184,7 @@ properties: > - string > - "null" > description: Materials specified >- stack: >+ shelving_control_number: > type: > - number > - "null" >-- >2.39.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 37639
:
170299
|
170328
|
170329
|
170396
|
170397
|
170458
| 170782