movie_id > media_id

This commit is contained in:
Ruud
2013-09-23 22:23:45 +02:00
parent c9ba3c804e
commit e9fc528a0f
4 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ class Release(Plugin):
releases_raw = db.query(Relea) \
.options(joinedload_all('info')) \
.options(joinedload_all('files')) \
.filter(Relea.movie_id == id) \
.filter(Relea.media_id == id) \
.all()
releases = [r.to_dict({'info':{}, 'files':{}}) for r in releases_raw]