mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 22:09:29 +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
|
//Prepare the request on the database
|
||||||
$tableName = $this->friendsTable.", utilisateurs";
|
$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);
|
$condValues = array($userID);
|
||||||
|
|
||||||
//Specify which fields to get
|
//Specify which fields to get
|
||||||
|
Loading…
Reference in New Issue
Block a user