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

1 comment

sorted by: hot top controversial new old
[–] 1 point 6 days 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

  • source