[Koha-bugs] [Bug 23271] Koha::Patron::Category should use Koha::Object::Limit::Library

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 15 10:04:37 CEST 2021


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

--- Comment #27 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
We already have it for most of the other modules based on
Koha::Object::Limit::Library:

Koha::AuthorisedValue, Koha::Account::CreditType, Koha::Account::CreditType and
Koha::Patron::Attribute::Type

Not Koha::ItemType.

In my understanding it's coming from this circular dependency:

Koha:AuthorisedValues inherits from Koha::Object and
Koha::Object::Limit::Library
Koha::Object::Limit::Library uses Koha::Libraries -> Koha::Biblios ->
Koha::Biblio -> Koha::Suggestions -> Koha::Patrons -> Koha::Patron ->
Koha::Holds -> Koha::Hold -> Koha::AuthorisedValues -> ...

There is certainly a shorter path to find the loop

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


More information about the Koha-bugs mailing list