[Koha-bugs] [Bug 32997] Add REST API endpoint to list authorised values for multiple given categories

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 23 11:58:34 CET 2023


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

--- Comment #5 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
(In reply to Jonathan Druart from comment #3)
>  11     parameters:
>  12       - name: category_names
>  13         in: query
>  14         description: Case insensitive search on category name
>  15         required: false
>  16         type: array
>  17       - name: x-koha-embed
> 
> You have an extra 's' here, it should be category_name, or maybe even just
> 'name' (and add the mapping to
> Koha::AuthorisedValueCategory->to_api_mapping).

Actually, I don't think that parameter is needed at all, since the category
names are going into the query (q) param, correct?
Tested it and provided a new patch with it removed.

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


More information about the Koha-bugs mailing list