Using a desktop browser, I click “Communities” in the top-left, taking me to https://lemm.ee/communities Now I see a list of communities, and I can filter by those I’m subbed to, those on the local instance, and “all” federated communities. This all works well. However, I would like to sort this list by the number of subscribers. The column header changes the mouse cursor so it looks clickable, but nothing apparently happens. There are no messages in the JavaScript console, and no requests are made to the server.
So I dug in a little bit and found that the ListCommunities API call supports a “sort” field. However, the valid SortType
values it refers to don’t appear to align very well with the fields on the Communities page. I tried a handful of odd sort values in the URL like ?sort=Hot
but they didn’t change anything in the results.
Is this just a not-yet-implemented feature? If I were to raise an issue against the source code about this, what would be the appropriate codebase to do that in?
Yeah a working sort on the header in the communites list is sorely needed. In the mean time there’s lemmyverse.net, you can sort by activity.
Check github.com/LemmyNet/lemmy/issues to see if there’s already a ticket on that, otherwise create one. I thinks it’s higher priority.
Okay, I found this, which is essentially what I was looking for: https://lemmyverse.net/communities?order=subscribers I put a filter on that for just lemm.ee and got what I wanted. Thanks!
So I guess that’s a solved problem, but the question of whether this should be/is going to be implemented directly in the web client is still open. I don’t suppose we have anyone here better acquainted with the source code who can answer that?