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
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on February 7, 2024 at 11:48 AM
What's your query that isn't working?
Reply by app.viigle@gmail.com
on February 7, 2024 at 12:02 PM
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?
Reply by Travis Bell
on February 7, 2024 at 12:42 PM
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 befirst_air_date.desc
.Would be what you're looking for.
Reply by app.viigle@gmail.com
on February 7, 2024 at 12:55 PM
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.
Reply by Travis Bell
on February 7, 2024 at 1:26 PM
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.
Reply by app.viigle@gmail.com
on February 7, 2024 at 1:34 PM
Thank you very much for your support. I will change my queries.