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>
This commit is contained in:
Pedro Amorim 2023-11-08 11:32:10 -01:00 committed by Katrin Fischer
parent 2421332771
commit 6037bd78ae
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ use Modern::Perl;
use Koha::Database;
use base qw(Koha::Object);
use base qw(Koha::Object::Mixin::AdditionalFields Koha::Object);
use Koha::Acquisition::Bookseller;
use Koha::ERM::UserRoles;

View File

@ -22,7 +22,7 @@ use Koha::Database;
use Koha::ERM::License;
use base qw(Koha::Objects);
use base qw(Koha::Objects Koha::Objects::Mixin::AdditionalFields);
=head1 NAME