]> git.koha-community.org Git - koha.git/commit
Bug 35287: Preparation: Extend AdditionalFields Mixin
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Wed, 8 Nov 2023 12:31:18 +0000 (11:31 -0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 24 Oct 2024 11:38:17 +0000 (13:38 +0200)
commit24213327717efd3cde399a2b3838bdefd91ba9c1
tree874d7a1ae99111e72a456b1496c56f6cca63c11e
parent0851c63726988a842565978d67a6e283314116f5
Bug 35287: Preparation: Extend AdditionalFields Mixin

The mixin now implements the extended_attributes method to be utilized by any Koha class that implements the AdditionalFields Mixin and is exposed through the REST API
It also implements a strings_map to be utilized in the same fashion as described above. This is useful because additional fields may be an authorised value

Signed-off-by: Edith Speller <edith.speller@ukhsa.gov.uk>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Koha/Object/Mixin/AdditionalFields.pm