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:
parent
2421332771
commit
6037bd78ae
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue