From: APTX Date: Sun, 28 Sep 2014 14:19:51 +0000 (+0200) Subject: Fix episode->file table join. X-Git-Url: https://gitweb.aptx.org/?a=commitdiff_plain;h=2e896d6d84a32ad798751692f518d799d408fe7d;p=localmylist-fs.git Fix episode->file table join. --- diff --git a/tabledata.cpp b/tabledata.cpp index 9167246..e88aa33 100644 --- a/tabledata.cpp +++ b/tabledata.cpp @@ -115,7 +115,7 @@ const QMap> join_map = []() { QMap> r; r["anime"]["episode"] = "anime.aid = episode.aid"; r["anime"]["file"] = "anime.aid = file.aid"; - r["episode"]["file"] = "anime.eid = episode.eid"; + r["episode"]["file"] = "episode.eid = file.eid"; r["episode"]["anime"] = "episode.aid = anime.aid"; r["file"]["anime"] = "file.aid = anime.aid"; r["file"]["episode"] = "file.eid = episode.eid";