-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Cannot Sort By asn_count Column For Sites Table And Providers View Table #18594
Comments
@arthanson , this is the one I'm working on. |
@jnovinger This fix also needs to be applied to |
@bctiemann, would it worth submitting a separate ticket or keeping this one open? Just asking so it can be scoped properly |
Let's fix that issue here as well, since these are both effectively the same bug. |
@jeremystretch that works. Will need to change the title then too to reflect it. It makes sense. |
Deployment Type
Self-hosted
NetBox Version
V4.2.0
Python Version
3.10
Steps to Reproduce
When doing this, I get the error:
`<class 'django.core.exceptions.FieldError'>
Cannot resolve keyword 'count' into field. Choices are: asn, bookmarks, comments, created, custom_field_data, description, device_count, id, journal_entries, last_updated, providers, rir, rir_id, sites, subscriptions, tagged_items, tags, tenant, tenant_id
`
Expected Behavior
It would sort the table based upon ASN Count value
Observed Behavior
It fails and can’t load the Sites Table. I also tested and verified this is an issue that occurs with the online demo system (demo.netbox.dev), so it isnt a customization or something special with my setup that is causing this.
The text was updated successfully, but these errors were encountered: