[Koha-bugs] [Bug 28734] Koha::Biblio->get_marc_notes should parse authorised values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 4 19:06:18 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28734

--- Comment #22 from Joonas Kylmälä <joonas.kylmala at iki.fi> ---
(In reply to Jonathan Druart from comment #17)
> 1.
> -use Koha::AuthorisedValueCategories;
> -use Koha::AuthorisedValues;
> +use Koha::AuthorisedValueCategory;
> +use Koha::AuthorisedValue;
> 
> Joonas, Aleisha was correct. We load the plurals modules, which will load
> the singulars.

Oh, I didn't know this was the preferred way, we could add it maybe to the
coding guidelines? To me it seemed more logical to always import directly the
modules we are using and not trust that the other module will do it.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list