]> git.koha-community.org Git - koha.git/commit
Bug 29105: Add effective_itemtype handling to items api
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 24 Sep 2021 11:19:12 +0000 (12:19 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 23 Aug 2022 19:19:03 +0000 (19:19 +0000)
commitf00a28b576ed9c2efcff22f43f2261f7d9b6ef12
tree613144c89721cf60ab8f487c0eb5be299fd12243
parent5974ff87c72aa4ae94578a930a2570c02225623b
Bug 29105: Add effective_itemtype handling to items api

This patch adds effective_item_type_id to the items api.

We overload the to_api method to append the effective_item_type_id field
with that of the effective itemtype code.

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit dc75b5d5cd181d8f8e50e98adb7afc69fc6a8838)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/Item.pm
api/v1/swagger/definitions/item.yaml