Rosanne DiMesio : Show 10 latest Wine versions on test report form

Jeremy Newman jnewman at winehq.org
Fri May 10 09:17:14 CDT 2019


Module: appdb
Branch: master
Commit: c2b0b708d90d26d686213eb64e6575d02513e6f8
URL:    https://source.winehq.org/git/appdb.git/?a=commit;h=c2b0b708d90d26d686213eb64e6575d02513e6f8

Author: Rosanne DiMesio <dimesio at earthlink.net>
Date:   Thu May  9 14:52:54 2019 -0500

Show 10 latest Wine versions on test report form

Increases the number of Wine versions shown in the dropdown list from
8 to 10. This is needed to prevent the newest stable release from
dropping off the list prematurely when it is followed by an update
to the previous stable version (see bug 47118).

Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
Signed-off-by: Jeremy Newman <laxdragon at gmail.com>

---

 include/util.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/util.php b/include/util.php
index f948f6d..27fff17 100644
--- a/include/util.php
+++ b/include/util.php
@@ -156,7 +156,7 @@ function get_bugzilla_versions($bReturnIds = false)
     foreach($aBranches as $sBranch)
     {
         $sWhere = "WHERE product_id =".BUGZILLA_PRODUCT_ID." AND value LIKE '$sBranch%'";
-        $sQuery = "SELECT $sFetchColumn FROM $sTable $sWhere ORDER BY id desc limit 8";
+        $sQuery = "SELECT $sFetchColumn FROM $sTable $sWhere ORDER BY id desc limit 10";
         $hResult = query_bugzilladb($sQuery);
         if($hResult)
         {




More information about the wine-cvs mailing list