Skip to content

Commit d1e8c06

Browse files
committed
Fixes #8074: Ordering VMs by name should reference naturalized value
1 parent 001c7e4 commit d1e8c06

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/release-notes/version-3.1.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
### Bug Fixes
1010

1111
* [#7674](https://github.com/netbox-community/netbox/issues/7674) - Fix inadvertent application of device type context to virtual machines
12+
* [#8074](https://github.com/netbox-community/netbox/issues/8074) - Ordering VMs by name should reference naturalized value
1213

1314
---
1415

netbox/virtualization/tables.py

+1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ class Meta(BaseTable.Meta):
114114
class VirtualMachineTable(BaseTable):
115115
pk = ToggleColumn()
116116
name = tables.Column(
117+
order_by=('_name',),
117118
linkify=True
118119
)
119120
status = ChoiceFieldColumn()

0 commit comments

Comments
 (0)