diff options
Diffstat (limited to 'ipalib/frontend.py')
-rw-r--r-- | ipalib/frontend.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/frontend.py b/ipalib/frontend.py index c2ae4e744..61e7f493f 100644 --- a/ipalib/frontend.py +++ b/ipalib/frontend.py @@ -777,6 +777,8 @@ class Command(HasParam): self._create_param_namespace('options') def get_key(p): if p.required: + if p.sortorder < 0: + return p.sortorder if p.default_from is None: return 0 return 1 |