this post was submitted on 05 Jul 2023
13 points (100.0% liked)

Support (lemm.ee)

34 readers
1 users here now

lemm.ee Support

You can make a post here if you're looking for support with any issues!

For general discussion about lemm.ee, please post in !meta instead.

founded 1 year ago
MODERATORS
 

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?

top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (2 children)

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.

[–] [email protected] 3 points 1 year ago (1 children)

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?

[–] [email protected] 0 points 1 year ago

Also in lemmyverse.net you can click the home icon at the top right and set your home instance, then every link you open will be in your home instance ready for you to hit 'subscribe'. Super useful!

[–] [email protected] 1 points 1 year ago

I played around with the direct API call a bit and ended up filing a ticket about it against the backend. It looks like the API doesn't implement sorting on community listings very well.

load more comments
view more: next ›