-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Next Comments Block: Link showing on the last page when selecting a custom "items per page" setting. #37560
Comments
There is another related use case where the pagination is not working properly. When the option "Last page displayed by default" is enabled, and you go to the penultimate page, the "Next Comments" link is pointing to I've been running some tests (I will create a PR later) and it seems this is caused by the get_comments_pagenum_link function, used by these blocks. It is adding this conditional Steps to reproduce1 - Enable the "Last page displayed by default" setting. |
Issue: block's settings do not override global settings I can reproduce ✔️ Test ReportEnv
Setup and Testing Steps
ResultsWhen on Values:
Call stack
Thinking hereIt's not due to What about classic themes like TT0 and TT1?TT1 and TT0 are using Next steps
|
In response to @hellofromtonya:
TT0 and TT1 utilize For comparison, TT2 utilizes |
What problem does this address?
The error is available near the end of the video:
Screen.Recording.2021-12-21.at.14.54.26.mov
When selecting a custom setting for items per page, the
Next Comments
links show up even when we are on the last page.Similar to #37553
What is your proposed solution?
We will check why is happening after we land #37297 and create a PR accordingly.
The text was updated successfully, but these errors were encountered: