mirror of
https://github.com/rommapp/romm.git
synced 2026-06-29 15:25:46 +00:00
fixed siblings
This commit is contained in:
@@ -118,8 +118,16 @@ class Rom(BaseModel):
|
||||
Rom.platform_id == self.platform_id,
|
||||
Rom.id != self.id,
|
||||
or_(
|
||||
and_(Rom.igdb_id == self.igdb_id, Rom.igdb_id is not None),
|
||||
and_(Rom.moby_id == self.moby_id, Rom.moby_id is not None),
|
||||
and_(
|
||||
Rom.igdb_id == self.igdb_id,
|
||||
Rom.igdb_id is not None,
|
||||
Rom.igdb_id != "",
|
||||
),
|
||||
and_(
|
||||
Rom.moby_id == self.moby_id,
|
||||
Rom.moby_id is not None,
|
||||
Rom.moby_id != "",
|
||||
),
|
||||
),
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user