nautobot-app-firewall-models
nautobot-app-firewall-models copied to clipboard
Sorting by Prefix in Address Object view results in error
Environment
- Python version: 3.10.6
- Nautobot version: 1.5.23
- nautobot-plugin-firewall-model version: 1.2.1
Expected Behavior
Sorting by "Prefix" in the "Address Objects" view results in the results being sorted by prefix
Observed Behavior
Sorting by "Prefix" in the "Address Objects" view results in an error
"<class 'django.core.exceptions.FieldError'>
Cannot resolve keyword 'vrf' into field. Choices are: _custom_field_data, address_object_groups, addressobjectgroupm2m, created, description, destaddrm2m, destination_for_associations, destination_policy_rules, fqdn, fqdn_id, id, ip_address, ip_address_id, ip_range, ip_range_id, last_updated, name, natorigdestaddrm2m, natorigsrcaddrm2m, nattransdestaddrm2m, nattranssrcaddrm2m, original_destination_nat_policy_rules, original_source_nat_policy_rules, prefix, prefix_id, source_for_associations, source_policy_rules, srcaddrm2m, status, status_id, tagged_items, tags, translated_destination_nat_policy_rules, translated_source_nat_policy_rules "
Steps to Reproduce
- login to the nautobot demo environment
- go to the Security > Address Objects view
- Click the column header "Prefix" to sort by prefix (issue occurs both in our installed environment and the demo environment at demo.nautobot.com)