]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 18 Jul 2022 17:41:25 +0000 (14:41 -0300)
commitdc75b5d5cd181d8f8e50e98adb7afc69fc6a8838
tree25c20bca5d3f4ed438a82a47ebc2045bb47337f3
parent6ca908816f2e56acced272f7fc56a0f68df62a43
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>
Koha/Item.pm
api/v1/swagger/definitions/item.yaml