1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #2357: Enable filtering of devices by rack face

This commit is contained in:
Jeremy Stretch
2019-02-15 11:31:57 -05:00
parent a9d7a7e306
commit 971f3cd63c
2 changed files with 2 additions and 1 deletions

View File

@@ -602,7 +602,7 @@ class DeviceFilter(CustomFieldFilterSet):
class Meta:
model = Device
fields = ['serial', 'position']
fields = ['serial', 'position', 'face']
def search(self, queryset, name, value):
if not value.strip():