forked from GNUsocial/gnu-social
[UI] Order groups in join descending order in profiles
This commit is contained in:
parent
6c844315aa
commit
e5ee069f4a
@ -337,6 +337,7 @@ class Profile extends Managed_DataObject
|
|||||||
$gm = new Group_member();
|
$gm = new Group_member();
|
||||||
|
|
||||||
$gm->profile_id = $this->id;
|
$gm->profile_id = $this->id;
|
||||||
|
$gm->orderBy('created DESC');
|
||||||
|
|
||||||
if ($gm->find()) {
|
if ($gm->find()) {
|
||||||
while ($gm->fetch()) {
|
while ($gm->fetch()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user