Sort order is inconsistent on "load more" on group page

AI-generated summary

Moin reported a bug in the “Bug” category regarding inconsistent sort order when using the “load more” feature on a group members page. The issue arises when sorting by “Added” date and scrolling past the initial 50 members. Instead of continuing the chronological sequence, the list displays a gap in dates and subsequently repeats users already seen at the top of the list. This results in some members being displayed twice while others are missing entirely. The reporter expects the sort order to remain consistent across pagination to ensure all unique members are shown without duplication.

Steps to reproduce:

  1. Open https://meta.discourse.org/g/user-testers?order=last_seen_at&asc=false
    You should see the group members who visited Meta recently first. :check_mark:
  2. Now click “Added” and you see the members who were added recently. This is fine. The sort direction hasn’t changed.
  3. Scroll down to load more than the first 50 members. Right where the members were loaded later, there is a gap in the dates:
  4. Scroll further and notice the users you have already seen at the top.

I would expect the sort order to be consistent on “load more”, so I see all members instead of some twice and others not at all.

1 Like