Skip to content

Commit

Permalink
LPS-134062 SF
Browse files Browse the repository at this point in the history
  • Loading branch information
ealonso authored and brianchandotcom committed Jun 15, 2021
1 parent 0ce06ee commit 6b6ee52
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ public void postProcessContextBooleanFilter(

Locale locale = searchContext.getLocale();

if (ArrayUtil.isNotEmpty(searchContext.getGroupIds())) {
long groupId = searchContext.getGroupIds()[0];
long[] groupIds = searchContext.getGroupIds();

locale = _portal.getSiteDefaultLocale(groupId);
if (ArrayUtil.isNotEmpty(groupIds)) {
locale = _portal.getSiteDefaultLocale(groupIds[0]);
}

QueryFilter queryFilter = _ddmIndexer.createFieldValueQueryFilter(
Expand Down

0 comments on commit 6b6ee52

Please sign in to comment.