Hi Sylvain,
The default behaviour of IPageRetriever in this case is the same as in IDocumentQuery - it's returning the current context culture only if nothing is specified. However, CombineWithAnyCulture()
can also be used with IPageRetriever like this:
var homeSections = pageRetriever.RetrieveAsync<HomeSection>(
query => query
.Path(nodeAliasPath, PathTypeEnum.Children)
.CombineWithAnyCulture() // <= put it here
.OrderBy("NodeOrder"),
cache => cache
.Key($"{nameof(HomeRepository)}|{nameof(GetHomeSectionsAsync)}|{nodeAliasPath}")
.Dependencies((_, builder) => builder.PagePath(nodeAliasPath, PathTypeEnum.Children).PageOrder()),
cancellationToken);