fix: scope games listing performance tags to handheld devices
This commit is contained in:
@@ -143,6 +143,10 @@ export default async function GamesPage() {
|
|||||||
})
|
})
|
||||||
.from(performanceEntries)
|
.from(performanceEntries)
|
||||||
.innerJoin(gameVersions, eq(performanceEntries.versionId, gameVersions.id))
|
.innerJoin(gameVersions, eq(performanceEntries.versionId, gameVersions.id))
|
||||||
|
.innerJoin(hardware, and(
|
||||||
|
eq(performanceEntries.hardwareSlug, hardware.slug),
|
||||||
|
eq(hardware.deviceType, "handheld"),
|
||||||
|
))
|
||||||
.where(
|
.where(
|
||||||
and(
|
and(
|
||||||
inArray(gameVersions.gameId, gameIds),
|
inArray(gameVersions.gameId, gameIds),
|
||||||
|
|||||||
Reference in New Issue
Block a user