Table/API pagination does not respect MAX_PAGE_SIZE #5272

Closed
opened 2025-12-29 19:26:06 +01:00 by adam · 1 comment
Owner

Originally created by @jeremystretch on GitHub (Aug 31, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.0.0

Python version

3.7

Steps to Reproduce

  1. Create at least 100 IP addresses
  2. Set MAX_PAGE_SIZE = 10 in `configuration.py
  3. View the IP addresses list and set the page size to 50

Expected Behavior

Only the first 10 IP addresses should be displayed.

Observed Behavior

The first 50 IP addresses are displayed; MAX_PAGE_SIZE has no effect.

(FYI this bug exists in releases prior to v3.0 as well, but was discovered in the course of troubleshooting something unrelated.)

Originally created by @jeremystretch on GitHub (Aug 31, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.0.0 ### Python version 3.7 ### Steps to Reproduce 1. Create at least 100 IP addresses 2. Set `MAX_PAGE_SIZE = 10` in `configuration.py 3. View the IP addresses list and set the page size to 50 ### Expected Behavior Only the first 10 IP addresses should be displayed. ### Observed Behavior The first 50 IP addresses are displayed; `MAX_PAGE_SIZE` has no effect. (FYI this bug exists in releases prior to v3.0 as well, but was discovered in the course of troubleshooting something unrelated.)
adam added the type: bugstatus: accepted labels 2025-12-29 19:26:06 +01:00
adam closed this issue 2025-12-29 19:26:06 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 31, 2021):

It seems that a similar issue exists with the REST API as well.

@jeremystretch commented on GitHub (Aug 31, 2021): It seems that a similar issue exists with the REST API as well.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5272