-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
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.
Metadata
Metadata
Assignees
Labels
severity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application