[UI] Order groups in join descending order in profiles

This commit is contained in:
Alexei Sorokin 2020-05-05 16:25:02 +03:00 committed by Diogo Peralta Cordeiro
parent 3f8f77dff1
commit 26622cb84b
1 changed files with 1 additions and 0 deletions

View File

@ -337,6 +337,7 @@ class Profile extends Managed_DataObject
$gm = new Group_member();
$gm->profile_id = $this->id;
$gm->orderBy('created DESC');
if ($gm->find()) {
while ($gm->fetch()) {