mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-19 18:18:43 -06:00
* Closes #8198: Implement ability to enforce custom field uniqueness * Add missing form fields & table columns for validation attributes * Remove obsolete code
This commit is contained in:
@@ -154,7 +154,7 @@ class CustomFieldFilterSet(ChangeLoggedModelFilterSet):
|
||||
fields = (
|
||||
'id', 'name', 'label', 'group_name', 'required', 'search_weight', 'filter_logic', 'ui_visible',
|
||||
'ui_editable', 'weight', 'is_cloneable', 'description', 'validation_minimum', 'validation_maximum',
|
||||
'validation_regex',
|
||||
'validation_regex', 'validation_unique',
|
||||
)
|
||||
|
||||
def search(self, queryset, name, value):
|
||||
|
||||
Reference in New Issue
Block a user