add product repo builder
This commit is contained in:
parent
d0c4bc77e7
commit
2d28ca8e68
|
|
@ -197,7 +197,7 @@ class ProductRepo
|
||||||
$order = $filters['order'] ?? 'desc';
|
$order = $filters['order'] ?? 'desc';
|
||||||
$builder->orderBy($sort, $order);
|
$builder->orderBy($sort, $order);
|
||||||
|
|
||||||
return $builder;
|
return hook_filter('repo.product.builder', $builder);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function parseFilterParamsAttr($attr)
|
public static function parseFilterParamsAttr($attr)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue