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

Koha::Object::Mixin::AdditionalFields needs to come before Koha::Object
in the inheritance so that the strings_map method that is called is
the one from Mixin and not from Koha::Object.
This is only required for Koha classes implementing the AdditionalFields Mixin and expose data through the REST API, because strings_map is implement in both the aforementioned classes

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/ERM/License.pm
Koha/ERM/Licenses.pm