Skip to content

Error sorting vlan-groups by Scope field #6468

@jhammond-git

Description

@jhammond-git

NetBox version

v2.11.3

Python version

3.7

Steps to Reproduce

  1. Go to /ipam/vlan-groups/
  2. Click on the "Scope" column header to sort

Expected Behavior

Alphabetical sort by Scope field.

Observed Behavior

The following error comes up:

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

Field 'scope' 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.8
NetBox version: 2.11.3

Confirmed at the URL: https://demo.netbox.dev/ipam/vlan-groups/?sort=scope

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