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

--- Comment #48 from Jonathan Druart <[email protected]> ---
Make the REST API returns a "_str" key (generated only if you requested it)
which would contains the stringified values
{
  _str: { attr: "stringified_value" },
  attr: "coded_value"
}

JS code would be
  let string_to_display = json._str.attr || json.attr

Not sure why this is still stuck.

I needed it for ERM and ended with retrieving the AVs from the TT plugin,
serialized to JSON and cached them.

The main problem is that we don't even have a route for AVs.

-- 
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