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

--- Comment #70 from Jonathan Druart <jonathan.druart+k...@gmail.com> ---
Then we could use the following structure
{
  _str: {
    location: { str: "General Stacks", type: "authorised_values" },
    itemtype: { str: "Books", type: "itemtypes" }
  },
  location: "GEN",
  itemtype: "BK",
}


From a dev pov it will be easier to
  const location = r._str.location.str || r.location
  const itemtype = r._str.itemtype.str || r.itemtype

than to *know* that location is in _authorised_values and itemtype in
_itemtypes!

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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