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

Sorting watchlist and favorites list #12

Open
OwenLaRosa opened this issue Nov 9, 2018 · 0 comments
Open

Sorting watchlist and favorites list #12

OwenLaRosa opened this issue Nov 9, 2018 · 0 comments
Labels
moviemanagerchallenge Task for "Improve the Movie Manager" Challenge

Comments

@OwenLaRosa
Copy link
Contributor

If you've added a lot of movies to the watchlist and favorites list, then you'll need to scroll down to see your most recently added movies. And if you use the app a lot, you probably don't want to see the movies you added to your watchlist years ago.

Instead, you can sort the lists returned from the Movie Database. According to the documentation there's an optional query parameter, sort_by, that will either sort the movies in ascending or descending order, based on when you added them to the list.

Play around with this query parameter and see if you can modify your endpoint for getting the watchlist/favorites list to sort movies in the correct order.

GET watchlist documentation:
https://developers.themoviedb.org/3/account/get-movie-watchlist

@OwenLaRosa OwenLaRosa added the moviemanagerchallenge Task for "Improve the Movie Manager" Challenge label Nov 9, 2018
BrentMifsud pushed a commit to BrentMifsud/TheMovieManager that referenced this issue Jun 2, 2019
BrentMifsud pushed a commit to BrentMifsud/TheMovieManager that referenced this issue Jun 2, 2019
BrentMifsud pushed a commit to BrentMifsud/TheMovieManager that referenced this issue Jun 2, 2019
BrentMifsud pushed a commit to BrentMifsud/TheMovieManager that referenced this issue Jun 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
moviemanagerchallenge Task for "Improve the Movie Manager" Challenge
Projects
None yet
Development

No branches or pull requests

1 participant