Commit 87fdd107 authored by Shakarim Sapa's avatar Shakarim Sapa

- Add filter updates

parent e80b3555
...@@ -91,7 +91,7 @@ class SearchCoContent extends CoContent ...@@ -91,7 +91,7 @@ class SearchCoContent extends CoContent
'updated_at' => $this->updated_at, 'updated_at' => $this->updated_at,
]); ]);
$query->joinWith(['url' => 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 . '%"');
}]); }]);
......
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