[Koha-bugs] [Bug 25421] Inconsistent return value in Koha::Libraries->pickup_locations

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 8 16:45:03 CEST 2020


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 104601
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104601&action=edit
Bug 25421: Make ->pickup_locations only return an arrayref

This patch makes Koha::Item->pickup_locations and
Koha::Biblio->pickup_locations always return an arrayref.

Test are adjusted to reflect this:

1. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Biblio.t t/db_dependent/Koha/Item.t
=> SUCCESS: Tests pass!
2. Apply this patch and repeat 1
=> SUCCESS: Tests pass!
3. 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