Merge branch 'release/21.7.1' into feature/doctemplate
This commit is contained in:
@@ -2054,8 +2054,9 @@ class testcaseModel extends model
|
||||
{
|
||||
$browseType = $this->session->caseBrowseType && $this->session->caseBrowseType != 'bysearch' ? $this->session->caseBrowseType : 'all';
|
||||
|
||||
$stmt = $this->dao->select('t1.*')->from(TABLE_CASE)->alias('t1');
|
||||
$stmt = $this->dao->select('t1.*,t3.title as storyTitle')->from(TABLE_CASE)->alias('t1');
|
||||
if($this->app->tab == 'project') $stmt = $stmt->leftJoin(TABLE_PROJECTCASE)->alias('t2')->on('t1.id=t2.case');
|
||||
$stmt->leftJoin(TABLE_STORY)->alias('t3')->on('t1.story = t3.id');
|
||||
|
||||
$caseList = $stmt->where('t1.deleted')->eq('0')
|
||||
->andWhere('t1.scene')->ne(0)
|
||||
|
||||
Reference in New Issue
Block a user