Added eager load to attribute options translation
This commit is contained in:
parent
f08e883b08
commit
d5c812d6eb
|
|
@ -137,7 +137,7 @@ class AttributeRepository extends Repository
|
|||
public function getFilterAttributes()
|
||||
{
|
||||
dd(111);
|
||||
return $this->model->with(['options', 'translations'])->where('is_filterable', 1)->get();
|
||||
return $this->model->with(['options', 'options.translations'])->where('is_filterable', 1)->get();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue