[PATCH appdb] Show 10 latest Wine versions on test report form

Rosanne DiMesio dimesio at earthlink.net
Thu May 9 14:52:54 CDT 2019


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>
---
 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)
         {
-- 
2.16.4




More information about the wine-devel mailing list