Skip to content

How to limit the maximum number of pages in pagy? #671

Closed Answered by ddnexus
bnknbnkn asked this question in Q&A
Discussion options

You must be logged in to vote

From 8.1.+ pagy implemented the max_pages

However, as already explained that's not the right tool against crawling, and in this specific case, doing it at the source (i.e in elasticsearch), would have more advantages, but at least it's not a half-backed hack to maintain.

Replies: 7 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@bnknbnkn
Comment options

@bnknbnkn
Comment options

Comment options

You must be logged in to vote
3 replies
@bnknbnkn
Comment options

@ddnexus
Comment options

@benkoshy
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ddnexus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants