Skip to content

Web pagination broken when MAX_PAGE_SIZE = 0 #7721

@jhammond-git

Description

@jhammond-git

NetBox version

v3.0.8

Python version

3.8

Steps to Reproduce

  1. Set MAX_PAGE_SIZE to 0 in configuration.py. If necessary, restart Netbox services.
  2. Log into Netbox.
  3. Go to any table that supports pagination.
  4. Change your page size from the default.
  5. Browse to a different table that supports pagination.

Expected Behavior

Your pages should be the same size that you changed them to in step 4.

Observed Behavior

Page size is switched back to default. When checking user preferences, the pagination.per_page setting is updated correctly, but not honored.

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