appdb/include user.php

WineHQ wineowner at wine.codeweavers.com
Mon Jan 22 21:21:29 CST 2007


ChangeSet ID:	30906
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/01/22 21:21:29

Modified files:
	include        : user.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	Show oldest queued applications and versions first

Patch: http://cvs.winehq.org/patch.py?id=30906

Old revision  New revision  Changes     Path
 1.81          1.82          +2 -2       appdb/include/user.php

Index: appdb/include/user.php
diff -u -p appdb/include/user.php:1.81 appdb/include/user.php:1.82
--- appdb/include/user.php:1.81	23 Jan 2007  3:21:29 -0000
+++ appdb/include/user.php	23 Jan 2007  3:21:29 -0000
@@ -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
          {



More information about the wine-cvs mailing list