From b4aba40455f7320d12da1aff0dd55486214be2ec Mon Sep 17 00:00:00 2001 From: Marco Rougeth Date: Fri, 26 Sep 2014 12:04:56 -0300 Subject: [PATCH] Order message report by fullname --- index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/index.php b/index.php index 09896ec..b5f5b50 100644 --- a/index.php +++ b/index.php @@ -72,6 +72,7 @@ select u.id, $fullname as fullname, u.picture, u.firstname, u.lastname, u.imagea (select count(*) from {message} where useridto=u.id and useridfrom<>u.id and useridfrom $in_user) as totalreceive from {user} u where u.id $in_user +order by fullname "; $data = $DB->get_records_sql($sql, array_merge($param_users,$param_users,$param_users));