Alexander Nicolaysen Sørnes : Sort versions by name in application view

Chris Morgan cmorgan at winehq.org
Thu Oct 25 18:10:46 CDT 2007


Module: appdb
Branch: master
Commit: 3a551d606b1113278d6e70c8549b25797d01bc31
URL:    http://source.winehq.org/git/appdb.git/?a=commit;h=3a551d606b1113278d6e70c8549b25797d01bc31

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Fri Oct 26 00:13:45 2007 +0200

Sort versions by name in application view

---

 include/application.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/application.php b/include/application.php
index 8daf89e..beba629 100644
--- a/include/application.php
+++ b/include/application.php
@@ -107,7 +107,7 @@ class Application {
             $sObsolete = "";
 
         $sQuery = "SELECT versionId FROM appVersion WHERE
-                        appId = '?'$sObsolete";
+                        appId = '?'$sObsolete ORDER by versionName";
         $hResult  = query_parameters($sQuery, $this->iAppId);
         return $hResult;
     }




More information about the wine-cvs mailing list