Skip to content

Instantly share code, notes, and snippets.

@nomoa
Created October 28, 2015 11:17
Show Gist options
  • Select an option

  • Save nomoa/63df966ed20cde56f473 to your computer and use it in GitHub Desktop.

Select an option

Save nomoa/63df966ed20cde56f473 to your computer and use it in GitHub Desktop.
The doc:
{
labels_de: [
{lang: "de-ch", label:"Blah"},
{lang: "de", label:"Blah2"},
],
labels_en: [
{lang: "en", label:"Foo"},
{lang: "en-gb", label:"Foo2"}
]
}
The query with labels_en:foo
You should use SourceFilter in ResultsType with labels_en
And then inspect the array to find the proper value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment