this post was submitted on 28 Mar 2025
8 points (100.0% liked)

PieFed Meta

1065 readers
113 users here now

Discuss PieFed project direction, provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics.

Wiki

founded 1 year ago
MODERATORS
 

One of the things I miss a little from Lemmy is the different Top Hour/Day/Week etc. sort options. The most used one for me was Top Day, it was a nice way to get a suitable amount of doomscrolling each day with mostly new posts.

What's the current logic/timeframe for the Top sort on PieFed?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] asudox@lemmy.asudox.dev 7 points 2 months ago (1 children)

From the source:

    elif sort == "top":
        posts = posts.filter(Post.posted_at > utcnow() - timedelta(days=1)).order_by(desc(Post.up_votes - Post.down_votes))