mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
104367: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud) 104293: Merged DEV to 5.0.N (5.0.2) 104276: MNT-14012 : Setting <display-facets>false</display-facets> throws InvalidQNameException - skip empty facet names on search queries git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@104523 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -714,6 +714,10 @@ public class Search extends BaseScopableProcessorExtension implements Initializi
|
||||
SolrFacetHelper solrFacetHelper = services.getSolrFacetHelper();
|
||||
for (String field: facets)
|
||||
{
|
||||
if (field.isEmpty())
|
||||
{
|
||||
continue;
|
||||
}
|
||||
final String modifiedField = "@" + field;
|
||||
if (solrFacetHelper.hasFacetQueries(modifiedField))
|
||||
{
|
||||
|
Reference in New Issue
Block a user