Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Use YouTube Video PublishDate for Sorting #414

Merged
merged 1 commit into from
May 28, 2020

Conversation

jestapinski
Copy link
Contributor

While testing the media component I found a small bug. The publishAt on snippet from YouTube is for when this video was added to the playlist. We should be sorting by when the video is published to YouTube.

I made the API call change in Stitch as well to get contentDetails as well, and the sorting is as expected after this PR.

Here are the docs for playlist items, where we can see this distinction.

Copy link
Contributor

@tahiya-mongo tahiya-mongo left a comment

Choose a reason for hiding this comment

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

LGTM!

@jestapinski
Copy link
Contributor Author

Thanks!

@jestapinski jestapinski merged commit 18c548f into tc/add-tab-to-learn-page May 28, 2020
@jestapinski jestapinski deleted the js/sort-by-upload-date branch May 28, 2020 17:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants