Hi, how come my users list is only showing a small percentage of all my users? Were are the others? Thanks.
https://mysite/u?cards=no&order=days_visited&period=all
Hi, how come my users list is only showing a small percentage of all my users? Were are the others? Thanks.
https://mysite/u?cards=no&order=days_visited&period=all
Looks like this can be repro’d here on meta with just the basic user list too https://meta.discourse.org/u
Seems to not be loading any extra pages when I hit the ‘bottom’. (iPhone/safari)
Let’s slip it over to bug for someone to have a look
Thanks for letting us know, I informed the team and prioritized! We will get this sorted in the upcoming weeks.
I can reproduce this here on Meta, but weirdly not in my local setup. Error is here in the users controller:
It’s like it’s being called too early in some cases, will investigate.
Still not really reproducing locally, but this PR should help with it, I will get @kelv to review because he moved this to an observer initially:
Just on the off-chance you’ve not considered it, is this connected to having the User Card Directory theme component? I think that’s a thing meta and the OP have in common that you may not have on your test site?
Thanks for that, I will give that a try. I did randomly get Meta not to error on this page today so I think there is some race condition, but yes could well be the component having an impact too.
I sometimes had the impression it was related to the width. I had a repro where collapsing the sidebar fixed it. But I also had repros where, even though the sidebar was visible, loading more worked once or twice or didn’t break. Those happened with different timespans selected, which didn’t make sense to me. Why should it work once when I select “Month” but twice when I select “Quarter”? If you think it’s helpful, I can look for the screencasts I made last week.
I think I was able to reproduce it in a Codespace built based on that branch.
I tried because today I noticed that sometimes the numbers in the user directory are wrong and I thought that maybe it’s because of the issue that users are not loaded.
Example of the wrong numbers I noticed:
Then I change the timespan to today:
And the same (today, ordered by posts read) after a reload
As you can see, the number of posts @lcor
read today changed after the reload. Before, it didn’t fit into the ordered list.
Actually, the 214 are the posts read this week:
Do you think this is the same issue or are there coincidentally 2 problems right now?
I can still reproduce the issue here on Meta.
Hmm weird, thanks for digging into this a bit Moin, will try another fix, not sure why the LoadMore
change didn’t solve it.
I’ve just noticed that the user list seems to be working for me now.
Has yours resolved as well @patrickemin?
I’ll update before tomorrow and let you know, thanks.
Hi, just updated my Discourse, but no, only around 40 members only show in my 610 members list.