Merge branch 'feature/ticket0813' into develop_bm
This commit is contained in:
@@ -25,9 +25,9 @@ class CategorieLogic
|
|||||||
|
|
||||||
public function find($id)
|
public function find($id)
|
||||||
{
|
{
|
||||||
return Categorie::with('translation')
|
return Categorie::with(['translation' => function ($query) {
|
||||||
->where('status',1)
|
$query->where('locale', locale());
|
||||||
->where('locale', locale())
|
}])->where('status', 1)
|
||||||
->find($id);
|
->find($id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user