diff --git a/oxdata/poster/models.py b/oxdata/poster/models.py index c78b6bf..65d3a4f 100644 --- a/oxdata/poster/models.py +++ b/oxdata/poster/models.py @@ -29,7 +29,7 @@ def getPosters(movie_id, url_prefix='', limit=lambda x, y: 0.3 < x/y < 1): get_poster_urls(movie_id) posters = {} if url_prefix.endswith('/'): url_prefix = url_prefix[:-1] - for p in PosterCache.objects.all().filter(movie_id=movie_id, failed=False).order_by('id'): + for p in PosterCache.objects.all().filter(movie_id=movie_id, failed=False).order_by('-id'): if p.site not in posters: posters[p.site] = [] poster = p.get()