diff --git a/pool/page_stats.php b/pool/page_stats.php index 2e5c108f..0b0ba88e 100644 --- a/pool/page_stats.php +++ b/pool/page_stats.php @@ -2,7 +2,7 @@ # function allusersort($a, $b) { - $cmp = $a['u_hashrate5m'] != $b['u_hashrate5m']; + $cmp = $b['u_hashrate5m'] - $a['u_hashrate5m']; if ($cmp != 0) return $cmp; return $a['userid'] - $b['userid']; @@ -44,16 +44,20 @@ function dostats($data, $user) $pg .= '