Update profile order in mod/directory
This commit is contained in:
parent
c115141220
commit
79ad132ce6
|
@ -62,7 +62,7 @@ function directory_content(App $a)
|
|||
if ($alpha) {
|
||||
$order = ' ORDER BY `name` ASC ';
|
||||
} else {
|
||||
$order = ' ORDER BY `updated` DESC, `id` DESC ';
|
||||
$order = ' ORDER BY `filled_fields` DESC, `last_activity` DESC, `updated` DESC';
|
||||
}
|
||||
|
||||
$r = q("SELECT * FROM `profile` WHERE `censored` = 0 AND `available` = 1 $sql_extra $order LIMIT %d , %d ",
|
||||
|
|
Loading…
Reference in New Issue