Skip to content

Table/API pagination does not respect MAX_PAGE_SIZE #7101

@jeremystretch

Description

@jeremystretch

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.)

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions