mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 01:06:11 -06:00
Fixes #10971: Added sorting by Display Name to Rack Elevations
This commit is contained in:
parent
3a5914827b
commit
c2bbe2b41a
@ -592,6 +592,8 @@ class RackElevationListView(generic.ObjectListView):
|
|||||||
ORDERING_CHOICES = {
|
ORDERING_CHOICES = {
|
||||||
'name': 'Name (A-Z)',
|
'name': 'Name (A-Z)',
|
||||||
'-name': 'Name (Z-A)',
|
'-name': 'Name (Z-A)',
|
||||||
|
'display': 'Display Name (A-Z)',
|
||||||
|
'-display': 'Display Name (Z-A)',
|
||||||
'facility_id': 'Facility ID (A-Z)',
|
'facility_id': 'Facility ID (A-Z)',
|
||||||
'-facility_id': 'Facility ID (Z-A)',
|
'-facility_id': 'Facility ID (Z-A)',
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user