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

--- Comment #2 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 182598
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182598&action=edit
Bug 39932: Make Koha::Item->_status return an arrayref

This patch makes the method return an actual array instead of a
comma-separated string. The API spec is adjusted so it also expects an
array in the response.

Tests are adjusted for the new return value.

To test:
1. Apply this patch
2. Run:
   $ ktd --shell
  k$ yarn api:bundle
  k$ prove t/db_dependent/Koha/Item.t
=> SUCCESS: Tests pass!
3. Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to