Added "most recent activity first" sorting of threads.

svn path=/trunk/boinc/; revision=1876
This commit is contained in:
David Anderson 2003-07-30 20:07:17 +00:00
parent d4583e164d
commit a8997cfd8e
1 changed files with 1 additions and 0 deletions

View File

@ -53,6 +53,7 @@ class Forum {
$sql = $sql . ' ORDER BY replies DESC'; $sql = $sql . ' ORDER BY replies DESC';
break; break;
case 'activity-most': case 'activity-most':
$sql = $sql . ' ORDER by activity DESC, views DESC';
break; break;
} }
if ($min > -1) { if ($min > -1) {