Closed
Description
Deployment Type
Self-hosted
Triage priority
I volunteer to perform this work (if approved)
NetBox Version
v4.1.7
Python Version
3.10
Steps to Reproduce
Set MAX_PAGE_SIZE to a small number (such as 30) in configuration.py
Access http://127.0.0.1:8000/api/dcim/interfaces/
Expected Behavior
Results should be paginated by 30, and next
and previous
links should have correct limit
and offset
values corresponding to increments of 30
Observed Behavior
The page size defaults to PAGINATE_COUNT
(default 50); and the next
url has limit
and offset
values corresponding to 50. However if you follow that link, the results are paginated by 30, as are the next
and previous
urls.