[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 9 16:34:15 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26635
--- Comment #20 from AgustÃn Moyano <agustinmoyano at theke.io> ---
Created attachment 116593
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=116593&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 Polytechnic Institute and State University
Signed-off-by: Andrew Fuerste-Henry <andrew at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list