this post was submitted on 20 Jul 2026
10 points (100.0% liked)

Lemmy

14671 readers
1 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 6 years ago
MODERATORS
 

For example this search I did was supposed to limit results to last week and showed something 11 months old:

https://programming.dev/search?q=webml&type=All&listingType=All&page=1&sort=TopWeek&titleOnly=false

you are viewing a single comment's thread
view the rest of the comments
[–] dessalines@lemmy.ml 1 points 3 weeks ago

Its kind of a bug; although the API for search can take in all those sort types, it actually can only use a few of them, so TopWeek gets turned into TopAll. This is because when searching for All types, many of them have no concept of TopWeek, like a search for users.

In lemmy 1.0 I'd like to fix this by showing a specific set of filters and sorts for the given searchable item type: https://github.com/LemmyNet/lemmy-ui/issues/3995