[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
Wed Oct 16 15:05:37 CEST 2019


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

--- Comment #5 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Jonathan Druart from comment #4)
> Tomas, about the last patch I am wondering if it makes sense. Should not we
> call search_with_library_limits from search_limited and keep the
> search_limited calls?
> I can imagine having other limitations and so a generic method names makes
> more sense.

Maybe, but we could do it in Koha::Objects if such was the case. The idea was
not to 'detect' environment state inside de libs, but do it in the controllers
and explicitly pass the information as parameter in the call.

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


More information about the Koha-bugs mailing list