This commit is contained in:
holan20180123
2021-04-26 13:33:55 +08:00
parent 4c749117a6
commit c8b405be88
+1 -1
View File
@@ -541,7 +541,7 @@ class testcaseModel extends model
->andWhere('t2.deleted')->eq(0)
->beginIF($auto != 'skip' and $auto != 'unit')->andWhere('t2.auto')->ne('unit')->fi()
->beginIF($auto == 'unit')->andWhere('t2.auto')->eq('unit')->fi()
->orderBy($orderBy)->page($pager)->fetchAll();
->orderBy($orderBy)->page($pager)->fetchAll('id');
}
/**