Steps to Reproduce
- Add a web content article titled "foo" to the Liferay site.
- Create a new site called "Bar".
- Add a web content article titled "foo" to the Bar site.
- Add the Search Bar, Search Results, and Site Facet portlets to a page in either site.
- Configure the Search Bar portlet "Scope" to be "This Site"
- Search for foo
Only the article in the current site would be shown in the Results and Site Facet portlets.
Both articles are shown in the Results and Site Facet portlets.
Reproduced on master - a4547f8
Note: The filtering actually does work when Scope is "Let the User Choose" and the user chooses "This Site"
LPS-104673 Search Result showing duplicate site names with result in search facet