Fixes #8074: Ordering VMs by name should reference naturalized value

This commit is contained in:
jeremystretch 2021-12-14 17:03:03 -05:00
parent 001c7e4b18
commit d1e8c06d36
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@
### Bug Fixes
* [#7674](https://github.com/netbox-community/netbox/issues/7674) - Fix inadvertent application of device type context to virtual machines
* [#8074](https://github.com/netbox-community/netbox/issues/8074) - Ordering VMs by name should reference naturalized value
---

View File

@ -114,6 +114,7 @@ class ClusterTable(BaseTable):
class VirtualMachineTable(BaseTable):
pk = ToggleColumn()
name = tables.Column(
order_by=('_name',),
linkify=True
)
status = ChoiceFieldColumn()