[Bug]: Search filters dont work properly
Guidelines
- [x] I have encountered this bug in the latest release of FreeTube.
- [x] I have encountered this bug in the official downloads of FreeTube.
- [x] I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
- [x] I have searched the documentation for information that matches the description of the bug I want to file, without success.
- [x] This issue contains only one bug.
- [x] I have read and agree to follow the rules.
Describe the bug
Click on Filters button and go to Sort By section. Select Upload Date. Results are not sorted and mostly shows what Most Relevant filter shows. Selecting invidious API doesn't change the behavior.
Thank you for this great app and your work.
Expected Behavior
Expected behavior is to be sorted by upload date.
Issue Labels
feature stopped working
FreeTube Version
0.23.13
Operating System Version
Arch based Cachy OS Linux distro
Installation Method
.AppImage
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
No response
Additional Information
No response
Nightly Build
- [ ] I have encountered this bug in the latest nightly build.
Probably related to YouTube's changes to the search filters, which we haven't adopted in FreeTube yet: https://support.google.com/youtube/thread/400586735/changes-to-youtube-search-filters-to-improve-content-discovery
Thank you for your response and the link. Any suggestions on what sorting option I should use instead?
Any suggestions on what sorting option I should use instead?
@BeatlesNo1 at this moment there isnt an alternative. YouTube's changes broke the older type of filters we are using so we have to fix that.
If i select upload date and under time i select today or this week, it kind of works. It just doesn't sort them. Should I add a feature request for the filter change?
No, one GitHub issue is enough.
If i select upload date and under time i select today or this week, it kind of works. It just doesn't sort them. Should I add a feature request for the filter change?
I tried that (and before + after pairs). It's not only does not sort, but I observed that 40+% of results are unrelated to my search queries.
YouTube removed the upload date sorting option both on the website and on their server (it ignores FreeTube telling it to sort by upload date), so the fix is for us to remove that option in FreeTube. We cannot work around YouTube's server side changes.
Bit of a hacky idea, but what about pulling the first X pages of results by hour/day, then sorting the results client side?