Sort by IP Assignment is not working #5677

Closed
opened 2025-12-29 19:31:23 +01:00 by adam · 0 comments
Owner

Originally created by @blackthornedk on GitHub (Nov 17, 2021).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.0.10

Python version

3.7

Steps to Reproduce

  1. Go to IP Address list
  2. Click on the heading for 'Assigned', to sort by assignment status

Expected Behavior

The list is sorted, and unassigned IP addresses can be shown on top.

Observed Behavior

En error:

<class 'django.core.exceptions.FieldError'>

Field 'assigned_object' does not generate an automatic reverse relation and therefore cannot be used for reverse querying. If it is a GenericForeignKey, consider adding a GenericRelation.

Python version: 3.7.12
NetBox version: 3.0.10
Originally created by @blackthornedk on GitHub (Nov 17, 2021). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.0.10 ### Python version 3.7 ### Steps to Reproduce 1. Go to IP Address list 2. Click on the heading for 'Assigned', to sort by assignment status ### Expected Behavior The list is sorted, and unassigned IP addresses can be shown on top. ### Observed Behavior En error: ``` <class 'django.core.exceptions.FieldError'> Field 'assigned_object' does not generate an automatic reverse relation and therefore cannot be used for reverse querying. If it is a GenericForeignKey, consider adding a GenericRelation. Python version: 3.7.12 NetBox version: 3.0.10 ```
adam added the type: bugstatus: accepted labels 2025-12-29 19:31:23 +01:00
adam closed this issue 2025-12-29 19:31:24 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5677