cbaykam's avatar

Landish Pagination Limit number of pages.

How can I limit the number of pages to display in Landish/Pagination using the LengthAwarePagination Could not find any documentation. It always displays 10 pages.

0 likes
4 replies
RachidLaasri's avatar

Limiting the number of pages to display? i don't think that's possible.

cbaykam's avatar

That's strange. We might want to limit the pages without coding the whole pagination logic.

RachidLaasri's avatar

Limit the results instead not the pages.

For example if you want to only show 10 pages of 10 items then limit the results of items to 100.

Please or to participate in this conversation.