Devices overview, sort on ip address breaks #4452

Closed
opened 2025-12-29 18:36:07 +01:00 by adam · 1 comment
Owner

Originally created by @maartenbollen on GitHub (Jan 11, 2021).

Environment

  • Python version: 3.6.8
  • NetBox version: 2.10.3

Steps to Reproduce

  1. Click on devices
  2. Click on ip address table header

Expected Behavior

That it sorts on ip address

Observed Behavior

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

Cannot resolve keyword 'primary_ip' into field. Choices are: _name, asset_tag, cluster, cluster_id, comments, consoleports, consoleserverports, created, custom_field_data, device_role, device_role_id, device_type, device_type_id, devicebays, face, frontports, id, images, interfaces, inventoryitems, last_updated, local_context_data, name, parent_bay, platform, platform_id, position, poweroutlets, powerports, primary_ip4, primary_ip4_id, primary_ip6, primary_ip6_id, rack, rack_id, rearports, secrets, serial, services, site, site_id, status, tagged_items, tags, tenant, tenant_id, vc_master_for, vc_position, vc_priority, virtual_chassis, virtual_chassis_id

Originally created by @maartenbollen on GitHub (Jan 11, 2021). <!-- NOTE: IF YOUR ISSUE DOES NOT FOLLOW THIS TEMPLATE, IT WILL BE CLOSED. This form is only for reporting reproducible bugs. If you need assistance with NetBox installation, or if you have a general question, please start a discussion instead: https://github.com/netbox-community/netbox/discussions Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report, and that any plugins have been disabled. --> ### Environment * Python version: 3.6.8 * NetBox version: 2.10.3 <!-- Describe in detail the exact steps that someone else can take to reproduce this bug using the current stable release of NetBox. Begin with the creation of any necessary database objects and call out every operation being performed explicitly. If reporting a bug in the REST API, be sure to reconstruct the raw HTTP request(s) being made: Don't rely on a client library such as pynetbox. --> ### Steps to Reproduce 1. Click on devices 2. Click on ip address table header <!-- What did you expect to happen? --> ### Expected Behavior That it sorts on ip address <!-- What happened instead? --> ### Observed Behavior <class 'django.core.exceptions.FieldError'> Cannot resolve keyword 'primary_ip' into field. Choices are: _name, asset_tag, cluster, cluster_id, comments, consoleports, consoleserverports, created, custom_field_data, device_role, device_role_id, device_type, device_type_id, devicebays, face, frontports, id, images, interfaces, inventoryitems, last_updated, local_context_data, name, parent_bay, platform, platform_id, position, poweroutlets, powerports, primary_ip4, primary_ip4_id, primary_ip6, primary_ip6_id, rack, rack_id, rearports, secrets, serial, services, site, site_id, status, tagged_items, tags, tenant, tenant_id, vc_master_for, vc_position, vc_priority, virtual_chassis, virtual_chassis_id
adam added the status: duplicate label 2025-12-29 18:36:07 +01:00
adam closed this issue 2025-12-29 18:36:07 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 11, 2021):

Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #5597 for further discussion.

@jeremystretch commented on GitHub (Jan 11, 2021): Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #5597 for further discussion.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4452