Browse Source

Order message report by fullname

master
Marco Rougeth 10 years ago
parent
commit
b4aba40455
  1. 1
      index.php

1
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));

Loading…
Cancel
Save