Fixed the "non grouping" criteria.

Now we don't get repeated references for multi-part components.
This commit is contained in:
SET 2020-08-12 09:50:02 -03:00
parent 0503d9ef7d
commit f7473bca12
1 changed files with 2 additions and 2 deletions

View File

@ -88,8 +88,8 @@ def compare_components(c1, c2, cfg):
return False
# Do not group components
if len(cfg.group_fields) == 0:
return False
# Check if the grouping fileds match
return c1.ref == c2.ref
# Check if the grouping fields match
for c in cfg.group_fields:
# Perform special matches
if c == ColumnList.COL_VALUE_L: