Commit 06da2f18 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

feat(simpleplugin) Sort values after LDAP read

Multivalues attributes are now sorted after reading from LDAP.
This needs to be tested for performance impact.

issue #4866
parent 67ae65fb
......@@ -413,7 +413,10 @@ class OrderedArrayAttribute extends SetAttribute
$this->resetToDefault();
}
if ($this->order) {
ksort($this->value);
$this->reIndexValues();
} else {
sort($this->value);
}
}
......
Supports Markdown
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