Skip to content

Wrong count of replies (total vs. per page) #3075

@janbrasna

Description

@janbrasna

Describe the bug
Threads spanning multiple pages do not show the total number of replies in "All Replies" heading. Only the number on that particular page.

Preconditions
Visit a thread that paginates.

Steps to reproduce

  1. Go to https://support.mozilla.org/en-US/questions/1583872
  2. See "All Replies (20)"
  3. Click to page 2
  4. See "All Replies (8)"

Expected behavior
"All Replies (28)" on all pages.

Actual behavior
Every page counts only the number of replies shown on that one single page.

Screenshots/Screencasts

 single

Additional context
Can't tell if that is the intended behavior, but leads to errors esp. if page 2 starts with just one reply and showing All Replies (1) making it appear it's the only answer and no other interaction happened before it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    ❓ triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions