https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43931 --- Comment #2 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 212740 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212740&action=edit Bug 43931: [WIP] Add /api/v1/suggestions/suggesters endpoint This patch adds a new endpoint that returns the list of patrons who have made at least one purchase suggestion. Each patron is returned once, regardless of how many suggestions they have made. The REST API cannot filter patrons on their related suggestions, and listing suggestions with the suggester embedded returns one row per suggestion, so a dedicated endpoint is needed, similar to /api/v1/suggestions/managers. Test plan: 1. Apply patch 2. Run: yarn api:bundle 3. Restart all 4. prove t/db_dependent/api/v1/suggestions.t 5. Create some suggestions for a few patrons 6. GET /api/v1/suggestions/suggesters 7. Confirm only the patrons with suggestions are returned, once each Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.