Can't scroll through list of user's groups if more than one page

(Jay Pfaffman) #1

If a user is in more groups than will fit on a page, there’s a bug because the load_more_rows URL doesn’t include the username.

Here’s what in https:/FORUM/groups.json?username=some_user

  1. extras:{type_filters: ["public", "close", "automatic"]}
  2. groups:[{id: 552, automatic: false, name: "group_name_one", user_count: 45, mentionable_level: 0,…},…]
  3. load_more_groups:"/groups?page=1"
  4. total_rows_groups:795

And when you scroll down the page, subsequent page loads pull from all groups, not just the user’s groups.

This is an edge case, because who puts users in so many groups?

But it does seem to be a legit bug.

(Sam Saffron) #2

edge case, very hard to repro, but we should fix.

(Jay Pfaffman) #4

Would rails commands to create a bunch of groups and add a user to them help?