Skip to content

Use pagy_prev_url with trim extra? #761

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

You must be logged in to vote

Hi @marckohlbrugge,
the trim has always been very problematic. Pagy is just the wrong place to put the trim logic. Indeed, we will discontinue the extra in the upcoming v10.

From the Changelog of v10:

##### `trim` (discontinued feature)

- It was mostly useless and half-backed, causing a lot of complications in the ruby and javascript code for no real benefit.
- Use a proper way to address your requirement, like using URL rewriting at the HTTP server level.

We understand that the discontinuation of the trim extra may be disruptive, and we sincerely apologize for any problems this causes. We appreciate your understanding.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@marckohlbrugge
Comment options

Answer selected by marckohlbrugge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants