eregs / regulations-core

An engine that supplies the API that allows users to read regulations and their various layers.
Creative Commons Zero v1.0 Universal
17 stars 27 forks source link

Allow page_size to be requested by the user. #83

Closed cmc333333 closed 7 years ago

cmc333333 commented 7 years ago

The UI shows only ten search results per page, yet the backend allows 50. This creates a mismatch when paging. To resolve, allow the user to request a specific page size (within bounds).

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.05%) to 93.359% when pulling 3fab4664266c406d68e32d11d943d85fd57823a8 on 499-page-size into 63a9b91c9e95b8b286f83c3fc47abff652e763bd on master.

cmc333333 commented 7 years ago

Thanks @tadhg-ohiggins