[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
Thu Apr 1 14:42:50 CEST 2021


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

--- Comment #22 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
(In reply to Tomás Cohen Arazi from comment #21)
> (In reply to Tomás Cohen Arazi from comment #18)
> > (In reply to Martin Renvoize from comment #17)
> > > I'm not sure we need the full AV object expanded.. and I'm thinking if would
> > > be 'nicer' to access it directly rather than have to do a subsequent lookup
> > > in JS?
> > 
> > I would go for an $av->to_api object, that names things better: lib/lib_opac
> > => description, picking the right one according to the caller context.
> 
> What do you think, Agustín?

I'm onboard with this... embedding them and using to_api to make the naming
clear.. I reckon we could be onto a winner

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


More information about the Koha-bugs mailing list