diff --git a/frontend/src/components/Details/Info/GameInfo.vue b/frontend/src/components/Details/Info/GameInfo.vue index e0b5c1760..35b95cbf7 100644 --- a/frontend/src/components/Details/Info/GameInfo.vue +++ b/frontend/src/components/Details/Info/GameInfo.vue @@ -20,20 +20,20 @@ const show = ref(false); const carousel = ref(0); const router = useRouter(); const filters = [ - { 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: "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: "franchises", + key: "franchise", path: "metadatum.franchises", name: t("rom.franchises"), }, { - key: "collections", + key: "collection", path: "metadatum.collections", name: t("rom.collections"), }, - { key: "companies", path: "metadatum.companies", name: t("rom.companies") }, + { key: "company", path: "metadatum.companies", name: t("rom.companies") }, ] as const; const dataSources = computed(() => { @@ -94,7 +94,7 @@ const coverImageSource = computed(() => { function onFilterClick(filter: FilterType, value: string) { router.push({ name: "search", - query: { search: "", filter, value }, + query: { [filter]: value }, }); } @@ -170,7 +170,7 @@ function onFilterClick(filter: FilterType, value: string) {