-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Pagination to Provider Detail View #3393
Comments
Title needs to be changed to reflect the IP address detail page to be covered in this too. |
I think in this framework a global pagination should be introduced for all possible tables that exist as APPS in Netbox. |
The project is already using https://github.com/jieter/django-tables2 to do just that - just needs to be enabled for the pages in question. |
Regarding "Related IP Address" table in the IP Address view, it becomes too heavy to load when the related IP address list is big. It is because the table does not have pagination feature (all items are listed on one page even if the list size is >9999...). I think it is challenging to enable pagination on the table only because it is implemented as one of the subpanels on this page. Moving to a separate tab is easier in terms of implementation. |
Fixes #3393: Paginate circuits at the provider details view
Environment
Proposed Functionality
Similar to #3314, the provider detail circuit listing would benefit from pagination when the object count is higher than a few hundred entries.
Edit: Same goes for IP Address detail page (Related and Duplicate IPs) (
/ipam/ip-addresses/<id>/
)Use Case
When viewing Providers (e.g.,
/circuits/providers/att/
) with a high number of circuits, the page loads very slow (and performs a larger DB query). Adding pagination will reduce the load on the webserver and the DB.Edit: Same goes for IP Address detail page (Related and Duplicate IPs) (
/ipam/ip-addresses/<id>/
)Database Changes
NA
External Dependencies
NA
The text was updated successfully, but these errors were encountered: