Просмотр исходного кода

fixes #2936 - device role selection showing duplicate first entry

John Anderson 7 лет назад
Родитель
Сommit
1bf04f2e30
2 измененных файлов с 1 добавлено и 1 удалено
  1. 1 0
      CHANGELOG.md
  2. 0 1
      netbox/dcim/forms.py

+ 1 - 0
CHANGELOG.md

@@ -5,6 +5,7 @@ v2.5.9 (FUTURE)
 * [#2207](https://github.com/digitalocean/netbox/issues/2207) - Fixes Deterministic Ordering of Interfaces
 * [#2577](https://github.com/digitalocean/netbox/issues/2577) - Clarification of wording in API regarding filtering
 * [#2924](https://github.com/digitalocean/netbox/issues/2924) - Add interface type for QSFP28 50GE
+* [#2936](https://github.com/digitalocean/netbox/issues/2936) - Fix device role selection showing duplicate first entry
 
 v2.5.8 (2019-03-11)
 

+ 0 - 1
netbox/dcim/forms.py

@@ -1700,7 +1700,6 @@ class DeviceFilterForm(BootstrapMixin, CustomFieldFilterForm):
         widget=APISelectMultiple(
             api_url="/api/dcim/device-roles/",
             value_field="slug",
-            null_option=True,
         )
     )
     tenant = FilterChoiceField(