Skip to content

Commit ab9d44a

Browse files
committed
Fixed faulty select distinct / order by
1 parent 23bfc5d commit ab9d44a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/controllers/TaskController.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ public function actionViewResponsible()
193193
$filters = Yii::$app->request->getQueryParam('Filters', []);
194194

195195
$query = Board::find()
196+
->select([
197+
'bo.*',
198+
'b.name'
199+
])
196200
->alias('bo')
197201
->distinct()
198202
->joinWith([

0 commit comments

Comments
 (0)