From 3b3bb5971c2f6b13663aa6367700672ba74e1aa1 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 13 Aug 2023 13:26:05 -0500 Subject: [PATCH] Fixed: Tag details query broken for Postgres --- src/NzbDrone.Core/Tv/SeriesRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Tv/SeriesRepository.cs b/src/NzbDrone.Core/Tv/SeriesRepository.cs index 9a9b9bda6..88233f64e 100644 --- a/src/NzbDrone.Core/Tv/SeriesRepository.cs +++ b/src/NzbDrone.Core/Tv/SeriesRepository.cs @@ -100,7 +100,7 @@ namespace NzbDrone.Core.Tv { using (var conn = _database.OpenConnection()) { - var strSql = "SELECT Id AS [Key], Tags AS [Value] FROM Series WHERE Tags IS NOT NULL"; + var strSql = "SELECT \"Id\" AS Key, \"Tags\" AS Value FROM \"Series\" WHERE \"Tags\" IS NOT NULL"; return conn.Query>>(strSql).ToDictionary(x => x.Key, x => x.Value); } }