base
parent
9da3ce7619
commit
e548b04f15
|
|
@ -43,7 +43,7 @@ class StoreController extends Controller
|
||||||
|
|
||||||
$list = $store->productSpus()
|
$list = $store->productSpus()
|
||||||
->with(['specs'])
|
->with(['specs'])
|
||||||
->distinct('product_spus.id')
|
->distinct()
|
||||||
->filter($input)
|
->filter($input)
|
||||||
->wherePivot('status', 1)
|
->wherePivot('status', 1)
|
||||||
->simplePaginate(Paginator::resolvePerPage('per_page', 20, 50));
|
->simplePaginate(Paginator::resolvePerPage('per_page', 20, 50));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue