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.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login