We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af0d160 commit be3615bCopy full SHA for be3615b
backend/handler/database/roms_handler.py
@@ -1116,4 +1116,4 @@ def get_rom_by_hash(
1116
return None
1117
1118
# Return the first ROM matching any of the provided hash values
1119
- return session.scalar(query.filter(or_(*filters)).limit(1))
+ return session.scalar(query.outerjoin(Rom.files).filter(or_(*filters)).limit(1))
0 commit comments