We're updating the issue view to help you get more done. 

wazo-confd - registrar return 0 item when we use limit params

Description

Given

  • You have 4 registrars

When
You use the params `limit` to paginate registrars the results will always be 0 with no items.
Example of URL : https://ENGINE_HOST/api/confd/1.1/registrars?limit=1

Expected
To have :

  • 1 registrar inside `items` key

  • `total` to be 4

Environment

None
Done

Assignee

François Blackburn

Reporter

Francis Chartrand

Labels

None

Approvers

Pascal Cadotte

Pair

None

Sprint

None

Fix versions

Priority

Medium
Configure