mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 18:11:16 +01:00
fixed filter roms both by platform and collection
This commit is contained in:
@@ -56,7 +56,7 @@ class DBRomsHandler(DBBaseHandler):
|
||||
if platform_id:
|
||||
data = data.filter(Rom.platform_id == platform_id)
|
||||
|
||||
elif collection_id:
|
||||
if collection_id:
|
||||
collection = (
|
||||
session.query(Collection)
|
||||
.filter(Collection.id == collection_id)
|
||||
|
||||
Reference in New Issue
Block a user