2010/02/02 03:05:31 +0000 claunia: Do not limit version list
This commit is contained in:
@@ -179,10 +179,11 @@ function get_bugzilla_versions($bReturnIds = false)
|
|||||||
if(STABLE_BRANCHES)
|
if(STABLE_BRANCHES)
|
||||||
$aBranches = array_merge($aBranches, explode(',', STABLE_BRANCHES));
|
$aBranches = array_merge($aBranches, explode(',', STABLE_BRANCHES));
|
||||||
|
|
||||||
foreach($aBranches as $sBranch)
|
// foreach($aBranches as $sBranch)
|
||||||
{
|
// {
|
||||||
$sWhere = "WHERE product_id =".BUGZILLA_PRODUCT_ID." AND value LIKE '$sBranch%'";
|
// $sWhere = "WHERE product_id =".BUGZILLA_PRODUCT_ID." AND value LIKE '$sBranch%'";
|
||||||
$sQuery = "SELECT $sFetchColumn FROM $sTable $sWhere ORDER BY id desc limit 6";
|
$sWhere = "WHERE product_id =".BUGZILLA_PRODUCT_ID;
|
||||||
|
$sQuery = "SELECT $sFetchColumn FROM $sTable $sWhere ORDER BY id desc";
|
||||||
$hResult = query_bugzilladb($sQuery);
|
$hResult = query_bugzilladb($sQuery);
|
||||||
if($hResult)
|
if($hResult)
|
||||||
{
|
{
|
||||||
@@ -192,7 +193,7 @@ function get_bugzilla_versions($bReturnIds = false)
|
|||||||
$aVersions[] = $sValue;
|
$aVersions[] = $sValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
// }
|
||||||
|
|
||||||
return $aVersions;
|
return $aVersions;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user