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

Add back sort by oldest #3698

Merged
merged 1 commit into from
Jun 27, 2023
Merged

Conversation

absidue
Copy link
Member

@absidue absidue commented Jun 25, 2023

Add back sort by oldest

Pull Request Type

  • Feature Implementation

Related issue

closes #3691

Description

This pull request adds back the oldest sort option for the videos and live tabs on channel pages, now that YouTube has finally added them back. YouTube doesn't support sorting by oldest on the shorts tab, presumably because they don't display the published dates there.

Invidious doesn't support sorting the shorts or live tabs, so currently you'll just see the same results as when it is sorted by newest. Once they add support, it should just start working in FreeTube, as we already pass the relevant parameters to the API.

Screenshots

sort-by-dropdown

Testing

Local API:
Test the oldest sort option on both the videos and live tabs.

Invidious API:
Test the oldest sort option for the videos tab (Invidious doesn't support sorting the live or shorts tabs).

@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Jun 25, 2023
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) June 25, 2023 15:06
@PikachuEXE
Copy link
Collaborator

I got this with oldest on Invidious API (instance: https://inv.zzls.xyz)

Invidious version specific?

@ChunkyProgrammer
Copy link
Member

The version has to be at least version 2023-06-21

Copy link
Collaborator

@PikachuEXE PikachuEXE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Retested Invidious API with instance https://vid.puffyan.us

@FreeTubeBot FreeTubeBot merged commit 7c7e0e5 into FreeTubeApp:development Jun 27, 2023
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Jun 27, 2023
@absidue absidue deleted the sort-by-oldest branch June 27, 2023 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: Support sorting by Oldest on the Videos and Live tab on channel page
5 participants