add product repo builder

This commit is contained in:
Edward Yang 2023-07-11 19:48:44 +08:00
parent d0c4bc77e7
commit 2d28ca8e68
1 changed files with 1 additions and 1 deletions

View File

@ -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)