* Fix bug #35106, browse testcase list order by id desc.

This commit is contained in:
zhaoke
2023-05-17 14:48:59 +08:00
parent 010437812e
commit 89c417cbc6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3520,7 +3520,7 @@ class testcaseModel extends model
}
/* Sort by product ID for project list. */
$orderBy = 'product_desc,sort_asc';
$orderBy = 'product_desc,sort_desc';
/* Get sql for batch execution. */
if($executionSql !== null) $executionSql = $this->buildQuery($modules, $type, $objectIdList, $branch)->andWhere('isCase')->eq(1)->orderBy($orderBy)->get();