|
|
|
@ -1091,6 +1091,7 @@ export default class View implements ViewType {
|
|
|
|
|
const table = this.extractViewColumnsTableName(view); |
|
|
|
|
const scope = this.extractViewColumnsTableNameScope(view); |
|
|
|
|
|
|
|
|
|
if (view.type === ViewTypes.GRID) { |
|
|
|
|
const primary_value_column = await ncMeta.metaGet2(null, null, MetaTable.COLUMNS, { |
|
|
|
|
fk_model_id: view.fk_model_id, |
|
|
|
|
pv: true, |
|
|
|
@ -1100,6 +1101,7 @@ export default class View implements ViewType {
|
|
|
|
|
if (primary_value_column) { |
|
|
|
|
ignoreColdIds.push(primary_value_column.id) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// get existing cache
|
|
|
|
|
const dataList = await NocoCache.getList(scope, [viewId]); |
|
|
|
|