Commit 11e43c92 authored by Shakarim Sapa's avatar Shakarim Sapa

- Add filter updates

parent 87fdd107
...@@ -91,11 +91,11 @@ class SearchCoContent extends CoContent ...@@ -91,11 +91,11 @@ class SearchCoContent extends CoContent
'updated_at' => $this->updated_at, 'updated_at' => $this->updated_at,
]); ]);
$query->joinWith(['lang' => function ($q) { // $query->joinWith(['lang' => function ($q) {
$q->where('co_content_lang.name LIKE "%' . $this->url . '%"'); // $q->where('co_content_lang.name LIKE "%' . $this->url . '%"');
}]); // }]);
// $query->andFilterWhere(['like', 'url', $this->url]); $query->andFilterWhere(['like', 'url', $this->url]);
return $dataProvider; return $dataProvider;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment