Merge branch 'ent-4200-visual-console-omnipresent-group-summary' into 'develop'
Fixed the omnipresent group summary bug See merge request artica/pandorafms!2496
This commit is contained in:
commit
beea6941e5
|
@ -319,7 +319,7 @@ final class Container extends Model
|
|||
// Default filter.
|
||||
$filter = ['id_layout' => $layoutId];
|
||||
$fields = [
|
||||
'id',
|
||||
'DISTINCT(id) AS id',
|
||||
'type',
|
||||
'cache_expiration',
|
||||
'id_layout',
|
||||
|
@ -340,8 +340,9 @@ final class Container extends Model
|
|||
// Only true condition if type is GROUP_ITEM.
|
||||
$filter[] = '('.\db_format_array_where_clause_sql(
|
||||
[
|
||||
'type' => GROUP_ITEM,
|
||||
'id_group' => $groupsFilter,
|
||||
'id_layout' => $layoutId,
|
||||
'type' => GROUP_ITEM,
|
||||
'id_group' => $groupsFilter,
|
||||
]
|
||||
).')';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue