Added eager load to attribute options translation

This commit is contained in:
jitendra 2022-09-14 17:15:20 +05:30
parent f08e883b08
commit d5c812d6eb
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
/**