[Koha-bugs] [Bug 26635] Expand authorised values in REST API call

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 2 21:31:05 CET 2021


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

--- Comment #14 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 116233
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116233&action=edit
Bug 26635: Expand authorised values in to_api method

This patch adds the posibility to expand authorised values when to_api
method is called.

The classes where authorised values should expand must implememnt the
_fetch_authorised_values method, and must return a hash like the
following

{
  column_name => Koha::AuthorisedValue->unblessed
  ...
}

This patch will be used in bug 8179, so please test there.

Sponsored-by: Virginia Tech Libraries

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


More information about the Koha-bugs mailing list