Keyboard Shortcuts
Advanced Search
Sorting order does not work for rated movies?!
http://api.themoviedb.org/3/account/{account_id}/rated_movies?sort_by=created_at&sort_order=desc&api_key={apikey]&session_id={session_id}&page=1
On the webpage it seems to be working just fine!
Thanks
Hey Oke,
I can't seem to reproduce this. Using my own account (and session ID) using the two queries:
https://api.themoviedb.org/3/account/###/rated_movies?api_key=###&session_id=###&sort_by=created_at&sort_order=asc https://api.themoviedb.org/3/account/###/rated_movies?api_key=###&session_id=###&sort_by=created_at&sort_order=desc
Seem to be producing me the proper results (ordered properly).
What exactly are you seeing?
Hey Travis,
I'll give you an example with this query: http://api.themoviedb.org/3/account/###/rated_movies?sort_by=created_at&sort_order=desc&api_key=###&session_id=###&page=1&language=de#
Now the json result of this query is: http://www.movietip.net/shared/screen3.png
The sort order in the differes after the 3rd entry: http://www.movietip.net/shared/screen4.png
I am pretty sure that the order on the webpage is the right one!
Usage of the api seems to be right?!
Cheers!
I happened to be in the account area doing something else and noticed a potential issue that could explain what you were describing. Can you tell me if you're still seeing this issue?
It seems to be working now!
Thanks, for the quick fix :)
Can't find a movie or TV show? Login to create it.
Login
Sign Up
Want to rate or add this item to a list?
Not a member?
Sign up and join the community
Reply by okster
on March 15, 2014 at 8:43 PM
On the webpage it seems to be working just fine!
Thanks
Reply by Travis Bell
on March 17, 2014 at 5:57 PM
Hey Oke,
I can't seem to reproduce this. Using my own account (and session ID) using the two queries:
Seem to be producing me the proper results (ordered properly).
What exactly are you seeing?
Reply by okster
on March 21, 2014 at 10:16 AM
Hey Travis,
I'll give you an example with this query: http://api.themoviedb.org/3/account/###/rated_movies?sort_by=created_at&sort_order=desc&api_key=###&session_id=###&page=1&language=de#
Now the json result of this query is: http://www.movietip.net/shared/screen3.png
The sort order in the differes after the 3rd entry: http://www.movietip.net/shared/screen4.png
I am pretty sure that the order on the webpage is the right one!
Usage of the api seems to be right?!
Cheers!
Reply by Travis Bell
on March 26, 2014 at 6:34 PM
I happened to be in the account area doing something else and noticed a potential issue that could explain what you were describing. Can you tell me if you're still seeing this issue?
Reply by OkeHargens
on March 27, 2014 at 11:20 AM
It seems to be working now!
Thanks, for the quick fix :)