asennett's avatar

lastPage() question for paginate

My goal: When my view loads, I want to be on the last page of the the pagination links. Looking at the docs, it seems like ->lastPage() should get me there but I can't seem to figure it out. I've found a discussion similar to this, but lacking a description of how to accomplish task, only a link to the docs. Which I've read and I guess I'm missing something.

1 like
1 reply

Please or to participate in this conversation.