Compare commits

..

1 Commits

Author SHA1 Message Date
c3ed147004 Fix queries on the views with ratings
The old behaviour was a simple join, if there's no rating for the movie,
there's no result for movie. The backend can not return the movie and
does a new GetDetails from online detailers.
2021-08-12 15:40:46 -10:00
2 changed files with 2 additions and 0 deletions

View File

@ -17,3 +17,4 @@ SELECT
FROM shows s FROM shows s
JOIN imdb_ratings r JOIN imdb_ratings r
ON s.imdb_id = r.imdb_id; ON s.imdb_id = r.imdb_id;

View File

@ -17,3 +17,4 @@ SELECT
FROM shows s FROM shows s
LEFT JOIN imdb_ratings r LEFT JOIN imdb_ratings r
ON s.imdb_id = r.imdb_id; ON s.imdb_id = r.imdb_id;