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

新版本更新后,发现个bug,评论翻页后发现条目对不上。 #723

Closed
penndu opened this issue Dec 25, 2023 · 5 comments
Closed
Labels
bug Something isn't working

Comments

@penndu
Copy link

penndu commented Dec 25, 2023

详见截图:
Snipaste_2023-12-26_01-03-00
Snipaste_2023-12-26_01-03-14

@qwqcode qwqcode added the question Further information is requested label Dec 31, 2023
@qwqcode
Copy link
Member

qwqcode commented Jan 10, 2024

你修改过 frontend.pagination.pageSize (每次分页评论数)的配置吗?

我好像找到出问题的原因了:https://github.com/ArtalkJS/Artalk/blob/master/server/handler/comment_get_query.go#L225-L241

下一个版本将修复

@qwqcode qwqcode added bug Something isn't working and removed question Further information is requested labels Jan 10, 2024
@penndu
Copy link
Author

penndu commented Jan 10, 2024

你修改过 frontend.pagination.pageSize (每次分页评论数)的配置吗?

我好像找到出问题的原因了:https://github.com/ArtalkJS/Artalk/blob/master/server/handler/comment_get_query.go#L225-L241

下一个版本将修复

我用的是Docker部署的,前端直接调用开源镜像,并未自行修改~

@qwqcode
Copy link
Member

qwqcode commented Jan 10, 2024

我刚刚看了看你的页面,你的 pageSize 是 10

临时解决方法是,把每页评论数改为 20(默认配置),应该就没问题了 🤣

@penndu
Copy link
Author

penndu commented Jan 10, 2024

我刚刚看了看你的页面,你的 pageSize 是 10

临时解决方法是,把每页评论数改为 20(默认配置),应该就没问题了 🤣

刚试了下,确实有效~

@qwqcode
Copy link
Member

qwqcode commented Feb 4, 2024

2.8.1 已修复该问题

@qwqcode qwqcode closed this as completed Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants