mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-15 14:49:09 +00:00
fix: metadata modify group cell value when column is used for group (#6464)
Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
@@ -108,11 +108,11 @@ class DataProcessor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static updateDataWithModifyRecords(table, relatedColumnKeyMap, rowIds, { collaborators }) {
|
static updateDataWithModifyRecords(table, relatedColumnKeyMap, rowIds, { collaborators }) {
|
||||||
const { available_columns, groupbys, row_ids } = table.view;
|
const { available_columns, groupbys, rows } = table.view;
|
||||||
const _isGroupView = isGroupView({ groupbys }, available_columns);
|
const _isGroupView = isGroupView({ groupbys }, available_columns);
|
||||||
const isRegroup = _isGroupView && this.hasRelatedGroupby(groupbys, relatedColumnKeyMap);
|
const isRegroup = _isGroupView && this.hasRelatedGroupby(groupbys, relatedColumnKeyMap);
|
||||||
if (isRegroup) {
|
if (isRegroup) {
|
||||||
table.view.groups = this.getGroupedRows(table, row_ids, groupbys, { collaborators });
|
table.view.groups = this.getGroupedRows(table, rows, groupbys, { collaborators });
|
||||||
}
|
}
|
||||||
// todo update sort and filter and ui change
|
// todo update sort and filter and ui change
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user