[Koha-bugs] [Bug 23281] Add Koha::Objects::Limit::Library

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 8 20:25:09 CEST 2019


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

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 91416
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91416&action=edit
Bug 23281: Implement ->search_with_library_limits in
Koha::Patron::Attribute::Types

This patch makes Koha::Patron::Attribute::Types inherit from
Koha::Objects::Limit::Library so it now has the
->search_with_library_limits method.

Tests are adjusted so it is clear that there is no behaviour change
compared to the (previsouly) called ->search

To test:
- Run:
 k$ prove t/db_dependent/Koha/Patron/Attribute/Types.t
=> SUCCESS: Tests pass!
- Apply this patch
- Run:
 k$ prove t/db_dependent/Koha/Patron/Attribute/Types.t
=> SUCCESS: Tests still pass!
- Sign off :-D

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


More information about the Koha-bugs mailing list