Cable.type to slug (#3569)

This commit is contained in:
Jeremy Stretch
2019-11-25 19:57:13 -05:00
parent 9aff8a6568
commit a5f390e757
7 changed files with 145 additions and 62 deletions

View File

@@ -939,7 +939,7 @@ class CableFilter(django_filters.FilterSet):
label='Search',
)
type = django_filters.MultipleChoiceFilter(
choices=CABLE_TYPE_CHOICES
choices=CableTypeChoices
)
status = django_filters.MultipleChoiceFilter(
choices=CONNECTION_STATUS_CHOICES