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
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 7 février 2024 à 11h48
What's your query that isn't working?
Réponse de app.viigle@gmail.com
le 7 février 2024 à 12h02
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?
Réponse de Travis Bell
le 7 février 2024 à 12h42
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.
Réponse de app.viigle@gmail.com
le 7 février 2024 à 12h55
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.
Réponse de Travis Bell
le 7 février 2024 à 13h26
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.
Réponse de app.viigle@gmail.com
le 7 février 2024 à 13h34
Thank you very much for your support. I will change my queries.