Skip to content
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

FIX: One-by-off error in topic show action #13183

Merged
merged 2 commits into from
May 28, 2021
Merged

FIX: One-by-off error in topic show action #13183

merged 2 commits into from
May 28, 2021

Conversation

nbianca
Copy link
Member

@nbianca nbianca commented May 27, 2021

The not found condition did not work for topics with chunk_size posts,
because it considered it has two pages, but it only has one.

The not found condition did not work for topics with chunk_size posts,
because it considered it has two pages, but it only has one.
@nbianca nbianca requested a review from ZogStriP May 27, 2021 12:20
@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/page-bug-both-in-core-and-in-sitemap-plugin/191719/4

Copy link
Member

@ZogStriP ZogStriP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any changes we could also add a test here as well?

@nbianca nbianca merged commit c247776 into master May 28, 2021
@nbianca nbianca deleted the fix_pagination branch May 28, 2021 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants