https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38291 --- Comment #71 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211212 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211212&action=edit Bug 38291: (follow-up) Add ft_reports to the library groups API Library groups have a "Limit report access by group" setting (ft_reports), but it was left out of the API representation. Map it to limit_report_access, and add it to the swagger definition and to the query parameters of the endpoint. To test: 1. Apply the patches, then run yarn api:bundle and restart_all 2. Administration > Library groups: create a group "Reports group" with "Limit report access by group" checked, and another group without it 3. Log in to the staff interface as a superlibrarian and visit /api/v1/library_groups => SUCCESS: "Reports group" has limit_report_access true, and the other group has it false 4. Visit /api/v1/library_groups?limit_report_access=1 => SUCCESS: only "Reports group" is listed 5. Run: prove t/db_dependent/api/v1/library_groups.t xt/api.t => SUCCESS: Tests pass Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.