[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
Fri May 7 17:01:30 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26635
--- Comment #27 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 120700
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120700&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>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list