* [bug#58601,done,0.2h] filter requirements and epics.
This commit is contained in:
@@ -2977,6 +2977,7 @@ class screenModel extends model
|
||||
->leftJoin(TABLE_ACTION)->alias('t3')->on('t2.id=t3.objectID')
|
||||
->where('t1.deleted')->eq('0')
|
||||
->andWhere('t2.deleted')->eq('0')
|
||||
->andWhere('t2.type')->eq('story')
|
||||
->andWhere("NOT FIND_IN_SET('or', t2.vision)")
|
||||
->andWhere('t2.stage')->eq('released')
|
||||
->andWhere('t3.objectType')->eq('story')
|
||||
@@ -2999,6 +3000,7 @@ class screenModel extends model
|
||||
->leftJoin(TABLE_STORY)->alias('t2')->on('t1.id=t2.product')
|
||||
->where('t1.deleted')->eq('0')
|
||||
->andWhere('t2.deleted')->eq('0')
|
||||
->andWhere('t2.type')->eq('story')
|
||||
->andWhere("NOT FIND_IN_SET('or', t2.vision)")
|
||||
->andWhere('t1.id')->eq($productID)
|
||||
->andWhere('year(t2.openedDate)')->eq($year)
|
||||
@@ -3009,6 +3011,7 @@ class screenModel extends model
|
||||
->leftJoin(TABLE_STORY)->alias('t2')->on('t1.id=t2.product')
|
||||
->where('t1.deleted')->eq('0')
|
||||
->andWhere('t2.deleted')->eq('0')
|
||||
->andWhere('t2.type')->eq('story')
|
||||
->andWhere("NOT FIND_IN_SET('or', t2.vision)")
|
||||
->andWhere('t1.id')->eq($productID)
|
||||
->andWhere('t2.closedReason')->eq('done')
|
||||
|
||||
Reference in New Issue
Block a user