Skip to content

Trim doesn't call with pagy_nav_js when first page is active #655

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

You must be logged in to vote

You mean that the bootstrap trimming is skipped on page 1 when it's active.

That works for all the framework extras because either they have a a tag without href or href="#" or they are disabled links, or they don't even have a link for the active page. Bootstrap has an active and complete URL to the active page which seems wrong!

The way trimming works is that usually you have the first page url called without any page param (it's implicit page 1 by default), when you are in any other page, the link to page 1 gets trimmed (since the page is not the active one, and clicking on it you want to remove page 1). Even in bootstrap, if you go to page 2, then click on the link of page 1, you don'…

Replies: 1 comment 1 reply

Comment options

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

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
2 participants