Forum Discussion
Elsa Naumann
Jan 03, 2017Brass Contributor
Modern Pages - Highlighted content not filtering search results for pages in other site collections
Hi all, I want to show pages from a different site collection using the highlighted content with a filter on Content includes the words to only show articles with specific content. This works jus...
Mikael Svenson
Jan 03, 2017Steel Contributor
Clearly a bug in the code which generates the KQL filter. It's a logical error where the code is not adding () around the content type id filter, messing up interpretation of AND and OR in the final query. So a proper boolean error. Should be reported.
- Mikael SvensonJan 04, 2017Steel Contributor
I've reported it so we'll see what happens.
- Mikael SvensonJan 16, 2017Steel Contributor
Thanks to Elsa Naumann who noticed the issue with () and contenttypeid has been fixed. Guess stuff happens in the dark :-D
The query is however not optimized adding unneeded OR's - but who cares right? :)
- John_SandersJan 19, 2017Microsoft
Thanks for reporting this issue; it is now resolved.
(I opened a bug internally when it was reported, and forgot to reply here it seems.)
Thank you!