Fix wrong column name in Controllers\Web\Servers

This commit is contained in:
Hypolite Petovan 2018-11-12 07:02:37 -05:00
parent 726f016a5b
commit 46db64872a
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ FROM `server` s
WHERE `reg_policy` = "REGISTER_OPEN"
AND `available`
AND NOT `hidden`
ORDER BY `health_score` DESC, `ssl_state` DESC, `info` != "" DESC, `dt_last_probed` DESC
ORDER BY `health_score` DESC, `ssl_state` DESC, `info` != "" DESC, `last_seen` DESC
LIMIT :start, :limit';
$servers = $this->atlas->fetchAll($stmt, [
'start' => [$pager->getStart(), PDO::PARAM_INT],