mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
Ordering field should not be required
This commit is contained in:
parent
a4f654edfa
commit
e6756a17a3
@ -312,6 +312,7 @@ class TableConfigForm(forms.ModelForm):
|
|||||||
)
|
)
|
||||||
ordering = SimpleArrayField(
|
ordering = SimpleArrayField(
|
||||||
base_field=forms.CharField(),
|
base_field=forms.CharField(),
|
||||||
|
required=False,
|
||||||
label=_('Ordering'),
|
label=_('Ordering'),
|
||||||
help_text=_(
|
help_text=_(
|
||||||
"Enter a comma-separated list of column names. Prepend a name with a hyphen to reverse the order."
|
"Enter a comma-separated list of column names. Prepend a name with a hyphen to reverse the order."
|
||||||
|
Loading…
Reference in New Issue
Block a user