Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter by text and date on channel page. #255

Closed
zipline808 opened this issue Nov 27, 2018 · 3 comments
Closed

Filter by text and date on channel page. #255

zipline808 opened this issue Nov 27, 2018 · 3 comments

Comments

@zipline808
Copy link

I think it would be good if we could apply a text filter and/or a date filter to a channel.

For example: /channel/UCB_qr75-ydFVKSF9Dmo6izg?filter=team+radio
This would show only videos containing the filter words for that channel.

And: /channel/UCB_qr75-ydFVKSF9Dmo6izg?date-from=DDMMYY, or /channel/UCB_qr75-ydFVKSF9Dmo6izg?date-to=DDMMYY, or /channel/UCB_qr75-ydFVKSF9Dmo6izg?date-from=DDMMYY&date-to=DDMMYY
These would show videos that were published by the channel after a specific date, before a specific date, or between two specific dates respectively.

@Discookie
Copy link

Discookie commented Nov 27, 2018

You can use the search bar to do that, as in #126, although I've been having issues with it.

For example: when I type channel:UCB_qr75-ydFVKSF9Dmo6izg team radio, it shows no results, but when I type channel:formula1 team radio, it shows the results correctly.
Apparently the channel filter is broken for long channel names?

For dates, there's only the options:
https://github.com/omarroth/invidious/blob/1cfa1f65591cc02c96778b0783114cad2e202e36/src/invidious/search.cr#L123-L133

@zipline808
Copy link
Author

Thankyou, I'd missed that. It is quite an unfriendly way of filtering but this much has been said in #126 so I'll just leave it at that.

Like you I've also noticed that channel:xyz has issues but I never thought much of it. Sometimes I will be on a channel page and the search bar has already been populated with channel:xyz but if I manually search with that filter it returns nothing.

I'll leave this issue open for now. Once @omarroth has become aware of the issue with the channel filter I'll close it. Thanks again.

@omarroth
Copy link
Contributor

Should be fixed with 4480e9c.

Also see #179, I agree that search as it is now is user-hostile. I expect to add a form similar to what YouTube has (and the linked issue goes into more detail). I think documentation on how to use the search filters would also be something good to put in the About tab proposed in #227.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants