This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Asinox
Asinox

Hello there, i dont know if there is something that i dont know about pagination when there is a Constraining eager loads, but the pagination for me is not working, sure there is the first amount of articles to show for each page, but the steps are not showing... I have a query like this: $this['product'] = Product::where('is_public',1)->where('id',$id)->with(['reviews' =>function($query) use ($id){$query->where('product_id', $id)->where('is_public',1)->paginate(10);}])->rememberForever()->first();

I can see the 10 reviews, but there is not steps....any idea?

Thank you

Last updated

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.