From 0e4487082474d9f31f1afe1a42aba80589d2add2 Mon Sep 17 00:00:00 2001 From: Cameron Horn Date: Tue, 3 Feb 2026 11:55:33 -0500 Subject: [PATCH 1/3] filter keys now plural --- frontend/src/components/Details/Info/GameInfo.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/Details/Info/GameInfo.vue b/frontend/src/components/Details/Info/GameInfo.vue index ef5d4cdb9..a1cbfe5b0 100644 --- a/frontend/src/components/Details/Info/GameInfo.vue +++ b/frontend/src/components/Details/Info/GameInfo.vue @@ -19,22 +19,22 @@ const showDialog = ref(false); const carouselValue = ref(0); const router = useRouter(); const filters = [ - { key: "region", path: "regions", name: t("rom.regions") }, - { key: "language", path: "languages", name: t("rom.languages") }, - { key: "genre", path: "metadatum.genres", name: t("rom.genres") }, + { key: "regions", path: "regions", name: t("rom.regions") }, + { key: "languages", path: "languages", name: t("rom.languages") }, + { key: "genres", path: "metadatum.genres", name: t("rom.genres") }, { - key: "franchise", + key: "franchises", path: "metadatum.franchises", name: t("rom.franchises"), }, { - key: "collection", + key: "collections", path: "metadatum.collections", name: t("rom.collections"), }, - { key: "company", path: "metadatum.companies", name: t("rom.companies") }, + { key: "companies", path: "metadatum.companies", name: t("rom.companies") }, { - key: "playerCount", + key: "playerCounts", path: "metadatum.player_count", name: t("rom.player-count"), }, From 61a2d00b2e2e74550b6e7ec8155dfe4822afe87a Mon Sep 17 00:00:00 2001 From: Cameron Horn Date: Tue, 3 Feb 2026 14:17:25 -0500 Subject: [PATCH 2/3] also plural form of ageRatings --- frontend/src/components/Details/Info/GameInfo.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Details/Info/GameInfo.vue b/frontend/src/components/Details/Info/GameInfo.vue index a1cbfe5b0..bcada551b 100644 --- a/frontend/src/components/Details/Info/GameInfo.vue +++ b/frontend/src/components/Details/Info/GameInfo.vue @@ -258,7 +258,7 @@ function getFilterValues(path: string): string[] { height="50" width="50" class="mr-4 cursor-pointer" - @click="onFilterClick('ageRating', value.rating)" + @click="onFilterClick('ageRatings', value.rating)" /> From bfc5a423a13ad0e8d630797ee6189a211641091c Mon Sep 17 00:00:00 2001 From: Cameron Horn Date: Tue, 3 Feb 2026 15:13:10 -0500 Subject: [PATCH 3/3] also plural forms of the types --- frontend/src/stores/galleryFilter.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/src/stores/galleryFilter.ts b/frontend/src/stores/galleryFilter.ts index b7c2e26cd..90f75bc32 100644 --- a/frontend/src/stores/galleryFilter.ts +++ b/frontend/src/stores/galleryFilter.ts @@ -5,15 +5,15 @@ import { romStatusMap } from "@/utils"; export type Platform = PlatformSchema; export type FilterType = - | "genre" - | "franchise" - | "collection" - | "company" - | "ageRating" - | "status" - | "region" - | "language" - | "playerCount"; + | "genres" + | "franchises" + | "collections" + | "companies" + | "ageRatings" + | "statuses" + | "regions" + | "languages" + | "playerCounts"; export type FilterLogicOperator = "any" | "all" | "none";