mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 19:57:36 +08:00
Aggregation for GroupTable groups does not work if GroupTable is created programmatically #530
This commit is contained in:
parent
0708a72c6b
commit
6dc0b1e181
@ -180,15 +180,8 @@ public class WebGroupTable<E extends Entity> extends WebAbstractTable<CubaGroupT
|
||||
final Table.Column column = columns.get(entry.getKey());
|
||||
GroupAggregationCells cells;
|
||||
if ((cells = groupAggregationCells.get(column)) != null) {
|
||||
String value = cells.getValue(groupContext.getGroupId());
|
||||
String cellText = getFormattedValue(column, value);
|
||||
entry.setValue(cellText);
|
||||
|
||||
String groupValue = cells.getValue(groupContext.getGroupId());
|
||||
if (groupValue != null) {
|
||||
String groupCellText = getFormattedValue(column, groupValue);
|
||||
entry.setValue(groupCellText);
|
||||
}
|
||||
String value = getFormattedValue(column, entry.getValue());
|
||||
cells.cells.put(groupContext.getGroupId(), value);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user