cache responces achyklar

This commit is contained in:
merdan 2022-12-21 19:07:27 +05:00
parent 91838b79db
commit 73b81ce2cc
1 changed files with 2 additions and 2 deletions

View File

@ -103,8 +103,8 @@ class BrandRepository extends Repository
$brands = $this->getModel()::search(implode(' OR ', $key))
// ->where('status',1)
// ->orderBy('name','asc')
->take(10)
->query(fn ($query) => $query->select('id','name')->orderBy('name'))
// ->take(10)
// ->query(fn ($query) => $query->select('id','name')->orderBy('name'))
->get();
return $brands;