Paginator appears twice on child prefixes/IPs view #2300

Closed
opened 2025-12-29 17:24:37 +01:00 by adam · 4 comments
Owner

Originally created by @jeremystretch on GitHub (Jan 17, 2019).

Environment

  • Python version: 3.5.2
  • NetBox version: 2.5.3

Steps to Reproduce

  1. Find a prefix with one or more child prefixes
  2. Click the "prefixes" tab to view the child prefixes

Expected Behavior

The list pagination widget should be displayed only once.

Observed Behavior

The list pagination widget appears twice. This also occurs when viewing child IP addresses within a prefix.

Originally created by @jeremystretch on GitHub (Jan 17, 2019). ### Environment * Python version: 3.5.2 * NetBox version: 2.5.3 ### Steps to Reproduce 1. Find a prefix with one or more child prefixes 2. Click the "prefixes" tab to view the child prefixes ### Expected Behavior The list pagination widget should be displayed only once. ### Observed Behavior The list pagination widget appears twice. This also occurs when viewing child IP addresses within a prefix.
adam added the type: bugstatus: accepted labels 2025-12-29 17:24:37 +01:00
adam closed this issue 2025-12-29 17:24:38 +01:00
Author
Owner

@mmahacek commented on GitHub (Jan 18, 2019):

I was just coming here to post this. My uneducated guess makes me think there is something with both netbox/templates/utilities/obj_table.html and netbox/templates/panel_table.html having references to including the paginator.

@mmahacek commented on GitHub (Jan 18, 2019): I was just coming here to post this. My uneducated guess makes me think there is something with both `netbox/templates/utilities/obj_table.html` and `netbox/templates/panel_table.html` having references to including the paginator.
Author
Owner

@jeremystretch commented on GitHub (Jan 18, 2019):

The table templates are a bit of a mess overall. I need to track down all the various implementations and standardize on a single incantation.

@jeremystretch commented on GitHub (Jan 18, 2019): The table templates are a bit of a mess overall. I need to track down all the various implementations and standardize on a single incantation.
Author
Owner

@mmahacek commented on GitHub (Jan 18, 2019):

This doesn’t seem to be a breaking issue, and I haven’t found it happening on any other page.

@mmahacek commented on GitHub (Jan 18, 2019): This doesn’t seem to be a breaking issue, and I haven’t found it happening on any other page.
Author
Owner

@jeremystretch commented on GitHub (Jan 23, 2019):

For reference, here's the current template tree. Note that the paginator gets included twice.

- ipam/prefix_prefixes.html
    - utilities/obj_table.html (with table_template='panel_table.html')
        - panel_table.html
            - inc/paginator.html
        - inc/paginator.html
@jeremystretch commented on GitHub (Jan 23, 2019): For reference, here's the current template tree. Note that the paginator gets included twice. ``` - ipam/prefix_prefixes.html - utilities/obj_table.html (with table_template='panel_table.html') - panel_table.html - inc/paginator.html - inc/paginator.html ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2300