|
|
@ -1091,14 +1091,16 @@ export default class View implements ViewType { |
|
|
|
const table = this.extractViewColumnsTableName(view); |
|
|
|
const table = this.extractViewColumnsTableName(view); |
|
|
|
const scope = this.extractViewColumnsTableNameScope(view); |
|
|
|
const scope = this.extractViewColumnsTableNameScope(view); |
|
|
|
|
|
|
|
|
|
|
|
const primary_value_column = await ncMeta.metaGet2(null, null, MetaTable.COLUMNS, { |
|
|
|
if (view.type === ViewTypes.GRID) { |
|
|
|
fk_model_id: view.fk_model_id, |
|
|
|
const primary_value_column = await ncMeta.metaGet2(null, null, MetaTable.COLUMNS, { |
|
|
|
pv: true, |
|
|
|
fk_model_id: view.fk_model_id, |
|
|
|
}) |
|
|
|
pv: true, |
|
|
|
|
|
|
|
}) |
|
|
|
// keep primary_value_column always visible
|
|
|
|
|
|
|
|
if (primary_value_column) { |
|
|
|
// keep primary_value_column always visible
|
|
|
|
ignoreColdIds.push(primary_value_column.id) |
|
|
|
if (primary_value_column) { |
|
|
|
|
|
|
|
ignoreColdIds.push(primary_value_column.id) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// get existing cache
|
|
|
|
// get existing cache
|
|
|
|