mirror of https://github.com/BOINC/boinc.git
svn path=/trunk/boinc/; revision=13022
This commit is contained in:
parent
cdc65cd283
commit
fc34e4398b
|
@ -34,9 +34,8 @@ if ($sort_by == "total_credit") {
|
||||||
$sort_clause = "total_credit desc";
|
$sort_clause = "total_credit desc";
|
||||||
} else {
|
} else {
|
||||||
$sort_clause = "expavg_credit desc";
|
$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);
|
top_host_table_start($sort_by);
|
||||||
$i = $offset+1;
|
$i = $offset+1;
|
||||||
while ($host = mysql_fetch_object($result)) {
|
while ($host = mysql_fetch_object($result)) {
|
||||||
|
|
Loading…
Reference in New Issue