From 5fb19dd43862fb2df44d641e8691a6528d1527e3 Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Fri, 18 Nov 2022 14:20:40 +0100 Subject: [PATCH] Refactoring --- src/music_kraken/utils/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/music_kraken/utils/database.py b/src/music_kraken/utils/database.py index e3bf910..aa55136 100644 --- a/src/music_kraken/utils/database.py +++ b/src/music_kraken/utils/database.py @@ -185,7 +185,7 @@ LEFT JOIN release_ id ON track.release_id = release_.id LEFT JOIN release_group id ON release_.id = release_group.id LEFT JOIN artist_track track_id ON track.id = artist_track.track_id LEFT JOIN artist id ON artist_track.artist_id = artist.id -LEFT OUTER JOIN source src_ ON track.id = src_.track_id +LEFT JOIN source src_ ON track.id = src_.track_id WHERE {where_arg} GROUP BY track.id;