Skip to content

Commit

Permalink
Merge pull request #300 from Arquisoft/fix/fixQuestionGenreNotLocalized
Browse files Browse the repository at this point in the history
Fix: VideogamesGenreQuestion
  • Loading branch information
GOLASOOO authored Apr 27, 2024
2 parents f822461 + ab438e3 commit 77c5c6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void setQuery() {
" OPTIONAL { " +
" ?game wdt:P136 ?genreItem. " +
" ?genreItem rdfs:label ?genreLabel. " +
" FILTER(LANG(?genreLabel) IN (\"en\", \"es\")) " +
" FILTER(LANG(?genreLabel) IN (\"" + langCode + "\")) " +
" } " +
" SERVICE wikibase:label { bd:serviceParam wikibase:language \"" + langCode + "\". } " +
"} " +
Expand Down

0 comments on commit 77c5c6c

Please sign in to comment.