diff options
author | morpheus65535 <[email protected]> | 2021-06-19 20:03:14 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2021-06-19 20:03:14 -0400 |
commit | d0c7c5d5e073c80af90569158c49072a87da89e6 (patch) | |
tree | 6218e273e39d8dbf95d78edb3d31fd79b1773482 | |
parent | 6c1fdc57c4ce04219988a48f7f06b0340a5e5698 (diff) | |
download | bazarr-d0c7c5d5e073c80af90569158c49072a87da89e6.tar.gz bazarr-d0c7c5d5e073c80af90569158c49072a87da89e6.zip |
Added missing column to movies upgrade query.
-rw-r--r-- | bazarr/get_subtitle.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bazarr/get_subtitle.py b/bazarr/get_subtitle.py index 0bedc8fb4..f2a4bd420 100644 --- a/bazarr/get_subtitle.py +++ b/bazarr/get_subtitle.py @@ -1458,7 +1458,8 @@ def upgrade_subtitles(): fn.MAX(TableHistoryMovie.timestamp).alias('timestamp'), TableMovies.monitored, TableMovies.tags, - TableMovies.radarrId)\ + TableMovies.radarrId, + TableMovies.title)\ .join(TableMovies, on=(TableHistoryMovie.radarrId == TableMovies.radarrId))\ .where(reduce(operator.and_, upgradable_movies_conditions))\ .group_by(TableHistoryMovie.video_path, TableHistoryMovie.language)\ |