fix ordering for share contributors, for real
This commit is contained in:
parent
cf9e392867
commit
f3da885137
@ -165,7 +165,7 @@ class Statistics {
|
||||
SUBSTRING_INDEX( username, '.', 1 ) AS account
|
||||
FROM " . $this->share->getTableName() . "
|
||||
GROUP BY account
|
||||
ORDER BY shares
|
||||
ORDER BY shares DESC
|
||||
LIMIT ?");
|
||||
if ($this->checkStmt($stmt) && $stmt->bind_param("i", $limit) && $stmt->execute() && $result = $stmt->get_result())
|
||||
return $result->fetch_all(MYSQLI_ASSOC);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user