Commit 9b85076b authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(mvc) add sorting to JsonKeyValueStoreField type, for https://github.com/opnsense/core/issues/819

(cherry picked from commit 680bb240)
parent 026dbe64
......@@ -169,7 +169,8 @@ class JsonKeyValueStoreField extends BaseField
}
$result[$optKey] = array("value"=>$optValue, "selected" => $selected);
}
// sort keys
ksort($result);
return $result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment