]> git.koha-community.org Git - koha.git/commit
Bug 29847: Make Koha::Patron::HouseboundProfile->housebound_visits return a resultset
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 2 Feb 2022 13:35:54 +0000 (10:35 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 10 Feb 2022 01:36:23 +0000 (15:36 -1000)
commit9bf19f628ac444fe29f7817b807c872af894331b
treea9755ff5e677d1ecb8742ca35bce4bbf90a689f5
parentdb0ebb3ab54748058ad5606a8845cef506c99c60
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@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Patron/HouseboundProfile.pm
koha-tmpl/intranet-tmpl/prog/en/modules/members/housebound.tt
t/db_dependent/Patron/HouseboundProfiles.t