The Movie Database Support

Hi, I realised that the sorting by release date is not working on api discover in the TV section since yesterday. The same problem is on the website

6 replies (on page 1 of 1)

Jump to last post

What's your query that isn't working?

something like this https://api.themoviedb.org/3/discover/tv?include_adult=false&include_null_first_air_dates=false&language=en-US&page=1&sort_by=release_date.desc but I have now realised that the sorting that I used to use is no longer present in the documentation.

Has it been removed?

Sorting by release_date.desc on TV isn't really a thing as there aren't really "release dates". Are you hoping to sort by the premiere date? On TV, that would be first_air_date.desc.

https://api.themoviedb.org/3/discover/tv?api_key=###&include_adult=false&include_null_first_air_dates=false&language=en-US&page=1&sort_by=first_air_date.desc

Would be what you're looking for.

OK, I understand what you're telling me and I'll see if I can change the query, but if you go to https://www.themoviedb.org/tv and try to sort by release date, it doesn't work, whereas it worked until two days ago. I guess it's the same problem, maybe this sorting has been removed recently?

I was also reporting it because the site was using the same sorting and it doesn't work.

Ok, got it. Ya, we tightened up some of the validations which is why this came up.

I'll get the website fixed later today, thanks for the report.

Thank you very much for your support. I will change my queries.

Can't find a movie or TV show? Login to create it.

Want to rate or add this item to a list?

Login