]> 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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Fri, 26 Aug 2022 12:47:57 +0000 (14:47 +0200)
commit731c9dd7c90fab24a6c137c9946756123710feb5
treedcb3f8f85274decea7a3bad70d26aac04edb26c2
parentce4f785d3273be102157300106c29c8c3c0597bd
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>
(cherry picked from commit f00a28b576ed9c2efcff22f43f2261f7d9b6ef12)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Koha/Item.pm
api/v1/swagger/definitions/item.yaml