Skip to content

Sort secrets by assigned object cause error #6562

@Dimaqa

Description

@Dimaqa

NetBox version

2.11.1

Python version

3.8

Steps to Reproduce

  1. Go to secrets table page
  2. Press on Assigned object header

Expected Behavior

Sort by assigned object

Observed Behavior

500 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.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions