mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
#9665 review changes
This commit is contained in:
@ -622,6 +622,7 @@ class RackElevationListView(generic.ObjectListView):
|
||||
'page': page,
|
||||
'total_count': total_count,
|
||||
'sort': sort,
|
||||
'sort_display_name': ORDERING_CHOICES[sort],
|
||||
'sort_choices': ORDERING_CHOICES,
|
||||
'rack_face': rack_face,
|
||||
'filter_form': forms.RackElevationFilterForm(request.GET),
|
||||
|
@ -20,7 +20,7 @@
|
||||
</div>
|
||||
<div class="dropdown">
|
||||
<button type="button" class="btn btn-sm btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
<i class="mdi mdi-sort"></i> Sort By ({{ sort }})
|
||||
<i class="mdi mdi-sort"></i> Sort By {{ sort_display_name }}
|
||||
</button>
|
||||
<ul class="dropdown-menu dropdown-menu-end">
|
||||
{% for sort_key, sort_display_name in sort_choices.items %}
|
||||
|
Reference in New Issue
Block a user