From cf99c719bbc9d77f17e49024950c4f98a184253c Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Tue, 31 Dec 2019 09:56:25 +0100 Subject: [PATCH] Fix friends list order --- src/helpers/FriendsHelper.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/helpers/FriendsHelper.ts b/src/helpers/FriendsHelper.ts index 51ce6cb..3e2cd0f 100644 --- a/src/helpers/FriendsHelper.ts +++ b/src/helpers/FriendsHelper.ts @@ -35,7 +35,8 @@ export class FriendsHelper { "f.actif", "f.abonnement", "f.autoriser_post_page" - ] + ], + order: "u.last_activity DESC" }); return results.map((r) => this.DbToFriend(r));