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.
A post was split to a new topic: User stats incorrect in user directory
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?
Ik zal voor morgen bijwerken en het je laten weten, bedankt.
Hallo, heb zojuist mijn Discourse bijgewerkt, maar nee, slechts ongeveer 40 leden worden weergegeven in mijn ledenlijst van 610 leden.
Ik merkte dat oneindig scrollen prima werkt op mobiel, maar niet op desktop/Nest Hub-formaten. Na onderzoek lijkt het erop dat de .load-more-sentinel div nul hoogte heeft, waardoor de IntersectionObserver nooit werd geactiveerd.
Een heel eenvoudige oplossing die ik heb toegepast, is om de sentinel een kleine hoogte te geven (bijv. 1px).
.load-more-sentinel {
height: 1px;
}
Bedankt, de oplossing werkt, heel erg bedankt!
Great that this worked for you, and thanks for your contribution
I merged in this fix so other users of Discourse will benefit from this too. Hopefully this fully resolves the bug!
Works great for me. I was able to reproduce it very reliably on my tablet before. ![]()
Would you split post #11 into a new topic? Obviously, itâs unrelated because I still see some wrong numbers in the user directory when I follow the steps. Thank you
Youâre welcome. This is my github, happy to contribute more directly in the future!