mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-12-25 13:08:58 +00:00
Reversed user list order
This commit is contained in:
parent
b0177e9c6f
commit
db4c939864
@ -29,7 +29,7 @@ class friends {
|
||||
|
||||
//Prepare the request on the database
|
||||
$tableName = $this->friendsTable.", utilisateurs";
|
||||
$condition = "WHERE ID_personne = ? AND amis.ID_amis = utilisateurs.ID ORDER BY utilisateurs.last_activity";
|
||||
$condition = "WHERE ID_personne = ? AND amis.ID_amis = utilisateurs.ID ORDER BY utilisateurs.last_activity DESC";
|
||||
$condValues = array($userID);
|
||||
|
||||
//Specify which fields to get
|
||||
|
Loading…
Reference in New Issue
Block a user