mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-31 22:53:21 +02:00
Fix "Display weight" on Custom Fields
This commit is contained in:
@@ -156,7 +156,7 @@ class CustomFieldBehaviorPanel(panels.ObjectAttributesPanel):
|
||||
template_name='extras/customfield/attrs/search_weight.html',
|
||||
)
|
||||
filter_logic = attrs.ChoiceAttr('filter_logic')
|
||||
weight = attrs.NumericAttr('weight')
|
||||
weight = attrs.NumericAttr('weight', label=_('Display weight'))
|
||||
ui_visible = attrs.ChoiceAttr('ui_visible', label=_('UI visible'))
|
||||
ui_editable = attrs.ChoiceAttr('ui_editable', label=_('UI editable'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user