]> git.koha-community.org Git - koha.git/commit
Bug 34008: Harmonize attribute names
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 30 Oct 2023 16:14:16 +0000 (13:14 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 1 Nov 2023 20:23:15 +0000 (17:23 -0300)
commit78589dbe6ecf1a4126b0420894a732bd58a9752a
tree866f0cc4a6d5bce373c48d0b61275830cf2a0ca9
parent05f0604d609c180070207f5608b256639e2e2ccb
Bug 34008: Harmonize attribute names

This patch harmonizes the attribute names with what is used for `items`
and `checkouts` in terms of terminology.

It also adapts the tests so they are less random failure-prone (they had
a fixed value for the item type, which might make things explode if the
chosen value already exists on the DB.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/ItemType.pm
Koha/Schema/Result/Itemtype.pm
api/v1/swagger/definitions/item_type.yaml
t/db_dependent/api/v1/item_types.t