* [bug#54739,done,1h] save query condition before get scene cases.

This commit is contained in:
zhouxin
2024-08-30 13:14:14 +08:00
committed by 綦新志
parent bd33cfd8ef
commit a0df0e5a6a
+2 -1
View File
@@ -408,9 +408,10 @@ class testtask extends control
/* 从数据库中查询一个测试单下关联的测试用例。*/
/* Query the cases associated with a testtask from the database. */
$runs = $this->testtask->getTaskCases($productID, $browseType, $queryID, $moduleID, $sort, $pager, $testtask);
$runs = $this->testtask->getSceneCases($productID, $runs);
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'testcase', false);
$runs = $this->testtask->getSceneCases($productID, $runs);
$this->testtaskZen->setSearchParamsForCases($product, $moduleID, $taskID, $queryID);
$this->testtaskZen->assignForCases($product, $testtask, $runs, $moduleID, $browseType, $param, $orderBy, $pager);
$this->display();