svn path=/trunk/boinc/; revision=13022

This commit is contained in:
Matt Lebofsky 2007-06-25 22:46:22 +00:00
parent cdc65cd283
commit fc34e4398b
1 changed files with 1 additions and 2 deletions

View File

@ -34,9 +34,8 @@ if ($sort_by == "total_credit") {
$sort_clause = "total_credit desc";
} else {
$sort_clause = "expavg_credit desc";
$sort_by = "total_credit";
}
$result = mysql_query("select * from host where $sort_by>0 and total_credit>300 order by $sort_clause limit $offset,$n");
$result = mysql_query("select * from host where total_credit>300 order by $sort_clause limit $offset,$n");
top_host_table_start($sort_by);
$i = $offset+1;
while ($host = mysql_fetch_object($result)) {