[Koha-bugs] [Bug 29847] Koha::Patron::HouseboundProfile->housebound_visits should return a resultset

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 2 14:44:46 CET 2022


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 130105
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130105&action=edit
Bug 29847: Make Koha::Patron::HouseboundProfile->housebound_visits return a
resultset

This patch makes the method consistent with the rest of the codebase, by
making it return a proper resultset.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/Patron/HouseboundProfiles.t
=> SUCCESS: Tests pass!
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass!
4. Check the UI hasn't got broken either.
=> SUCCESS: It hasn't!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list