#2481 closed defect (bug) (fixed)
Forums: Pagination doesn't account for archived posts
Reported by: | SergeyBiryukov | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Support Forums | Keywords: | |
Cc: |
Description (last modified by )
Steps to reproduce:
- The topic has 16 posts (current setting is 15 posts per page).
- There's one archived post in the middle of the topic, so only 15 posts are visible.
- "All Topics" view erroneously displays two pages instead of one.
- The "Last Post" link leads to the second page, but the post is not there (it's on the first page).
Change History (10)
#3
follow-ups:
↓ 5
↓ 8
@
8 years ago
Just stumbled upon this again in this topic, which doesn't have any archived replies at the moment, but has -1
hidden posts. I guess any type of hidden posts could cause this (Spam or Pending too, not just Archived).
Until #2043 is fixed, it would help if moderators had an option to manually fix incorrect post count for affected topics.
#5
in reply to:
↑ 3
@
8 years ago
Replying to SergeyBiryukov:
I guess any type of hidden posts could cause this (Spam or Pending too, not just Archived).
Confirmed, triggered the incorrect replies counts issue recently a couple of times:
- Reply to a topic that had no replies, it has 1 reply now.
- Edit your reply to fix a typo or something.
- Akismet didn't flag the initial post, but flags the edited one for some reason, without updating the replies count.
- Once you unspam the post, the topic has 2 replies (+ -1 hidden).
This ticket was mentioned in Slack in #forums by sergey. View the logs.
8 years ago
#8
in reply to:
↑ 3
@
7 years ago
Replying to SergeyBiryukov:
Until #2043 is fixed, it would help if moderators had an option to manually fix incorrect post count for affected topics.
Addressed in [5675] for #1971. If you notice a topic with incorrect replies count, re-saving it should update the count.
Ticket #2043 has a patch to solve this problem.