wazo-confd - /sounds pagination is not accurate like other routes

Description

Steps to reproduce

  • Having 35 sounds in database for the routes /sounds in the same tenant

  • GET /sounds?limit=25

What you expected to see

total should be 35 and items in the payload to have a total of 25 items

What you saw instead

total is set to 25, total equal limit params passed since it’s lower than the total of element. Expect pagination been done manually (not database) so total do not return the exact total without filters.

Zendesk Ticket IDs

None

Activity

Show:
Done

Details

Priority

Assignee

Reporter

Approvers

Pascal Cadotte

Fix versions

Sprint

Story Points

Labels

Zendesk Support

Created April 2, 2024 at 7:15 PM
Updated April 3, 2024 at 3:59 PM
Resolved April 3, 2024 at 2:51 PM