-
Bug
-
Resolution: Fixed
-
Major
-
4.2.0
-
None
-
4.2 M11
Need to rethink a little what means a "LanguageSearchContext". It is currently interpreted as the language of the Content, so PageReturnable does join a Page on the ContentLanguageQuery.
As a result, if 'Any language' is selected in the Search Context for instance, pages without any content (with only a service for instance) cannot be returned !
=> it is a bug !
PageReturnable should interpret the "LanguageSearchContext" as the language of the page, i.e. the sitemap of the page, so it should create a SitemapQuery in this scenario and not a PageContentQuery of a ContentLanguageQuery