fixed the search results translation with graphql loading

This commit is contained in:
2021-01-12 12:17:50 +01:00
parent efd88d298b
commit 0704a85a63
8 changed files with 44 additions and 19 deletions

View File

@ -120,7 +120,7 @@ export default {
// callBack: 'loadSearchResultsCallBack'
// })
let ast = gql`{
searchresults(ids: [${data.nids}]) {
searchresults(ids: [${data.nids}], lang: "${drupalDecoupled.lang_code}") {
...SearchResultFields
}
}