* Change the param position.

This commit is contained in:
tianshujie
2023-09-27 13:39:08 +08:00
parent 29a6078722
commit 86c92c91c4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ class buildModel extends model
if(strpos($params, 'notrunk') === false) $sysBuilds = array('trunk' => $this->lang->trunk);
$shadows = $this->dao->select('shadow')->from(TABLE_RELEASE)->where('product')->in($productIdList)->fetchPairs('shadow', 'shadow'); // Get the buildID under the shadow product.
$selectedBuilds = $this->buildTao->selectedBuildPairs($productIdList, $params, $objectID, $objectType, $buildIdList);
$selectedBuilds = $this->buildTao->selectedBuildPairs($buildIdList, $productIdList, $params, $objectID, $objectType);
$allBuilds = $this->buildTao->fetchBuilds($productIdList, $params, $objectID, $objectType, $shadows);
/* Set builds and filter done executions and terminate releases. */
+1 -1
View File
@@ -54,7 +54,7 @@ class buildTao extends buildModel
* @access protected
* @return array
*/
protected function selectedBuildPairs(array $productIdList, string $params, int $objectID, string $objectType, string $buildIdList): array
protected function selectedBuildPairs(string $buildIdList, array $productIdList, string $params, int $objectID, string $objectType): array
{
$selectedBuilds = array();
if($buildIdList)