laravel-woocommerce icon indicating copy to clipboard operation
laravel-woocommerce copied to clipboard

Product::where() should reset $page set by Product::paginate()

Open vlad88sv opened this issue 2 years ago • 1 comments

Product::where() should reset any $page set by Product::paginate($num, $page)

vlad88sv avatar Feb 01 '23 01:02 vlad88sv

Apparently a workaround is to do:

Product::options(['page' => 1])->where()

vlad88sv avatar Feb 01 '23 01:02 vlad88sv