Show oldest queued applications and versions first

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-01-23 03:21:29 +00:00
committed by WineHQ
parent b2e2f5afb4
commit 3172aec739

View File

@@ -444,12 +444,12 @@ class User {
{
if($queryAppFamily)
{
$sQuery = "SELECT appFamily.appId FROM appFamily WHERE queued = 'true'";
$sQuery = "SELECT appFamily.appId FROM appFamily WHERE queued = 'true' ORDER BY appId";
} else
{
$sQuery = "SELECT appVersion.versionId FROM appVersion, appFamily
WHERE appFamily.appId = appVersion.appId
AND appFamily.queued = 'false' AND appVersion.queued = 'true'";
AND appFamily.queued = 'false' AND appVersion.queued = 'true' ORDER BY versionId";
}
} else
{