FindPagesWithCriteria doesn't return pages without specifying a language branch



Why may

 PageCriteriaQueryService.FindPagesWithCriteria(basePage, criteria);

return the empty collection while

PageCriteriaQueryService.FindPagesWithCriteria(basePage, criteria, languageBranch.LanguageID);

returns pages correctly?

Edited, Aug 05, 2018 19:08
PageCriteriaQueryService.FindPagesWithCriteria(basePage, criteria, null, LanguageSelector.AutoDetect(true));

solved the issue

Aug 06, 2018 7:35
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.