Providers list view "ACCOUNT COUNT" column using wrong attribute name in link #10001

Closed
opened 2025-12-29 21:25:28 +01:00 by adam · 3 comments
Owner

Originally created by @jsenecal on GitHub (Jul 23, 2024).

Originally assigned to: @jsenecal on GitHub.

Deployment Type

Self-hosted

NetBox Version

v4.0.7

Python Version

3.10

Steps to Reproduce

  1. Create at least two Providers
  2. Create at least two Provider Accounts linked to multiple different Providers
  3. Navigate to Providers list view and click on a non-zero "ACCOUNT COUNT" (notice the Provider name)
  4. Notice that the url filter is using account_id instead of provider_id which results in the list not being properly filtered for that Provider

Expected Behavior

The resulting Provider Account list should be filtered to only display Accounts belonging to that Provider

Observed Behavior

All the Accounts are displayed, unfiltered, due to the url parameter applied is account_id instead of provider_id

Originally created by @jsenecal on GitHub (Jul 23, 2024). Originally assigned to: @jsenecal on GitHub. ### Deployment Type Self-hosted ### NetBox Version v4.0.7 ### Python Version 3.10 ### Steps to Reproduce 1. Create at least two Providers 2. Create at least two Provider Accounts linked to multiple different Providers 3. Navigate to Providers list view and click on a non-zero "ACCOUNT COUNT" (notice the Provider name) 4. Notice that the url filter is using `account_id` instead of `provider_id` which results in the list not being properly filtered for that Provider ### Expected Behavior The resulting Provider Account list should be filtered to only display Accounts belonging to that Provider ### Observed Behavior All the Accounts are displayed, unfiltered, due to the url parameter applied is `account_id` instead of `provider_id`
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 21:25:28 +01:00
adam closed this issue 2025-12-29 21:25:29 +01:00
Author
Owner

@jsenecal commented on GitHub (Jul 23, 2024):

I believe this is caused by circuits/tables/providers.py#L28

@jsenecal commented on GitHub (Jul 23, 2024): I believe this is caused by [circuits/tables/providers.py#L28](https://github.com/netbox-community/netbox/blob/develop/netbox/circuits/tables/providers.py#L28)
Author
Owner

@jsenecal commented on GitHub (Jul 25, 2024):

I volunteer @arthanson, please assign this to me.

@jsenecal commented on GitHub (Jul 25, 2024): I volunteer @arthanson, please assign this to me.
Author
Owner

@jeremystretch commented on GitHub (Jul 25, 2024):

Thanks @jsenecal, I've assigned you.

@jeremystretch commented on GitHub (Jul 25, 2024): Thanks @jsenecal, I've assigned you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10001