|
|
|
@ -1856,7 +1856,7 @@ export default class View implements ViewType {
|
|
|
|
|
|
|
|
|
|
const aggregation = CommonAggregations.None; |
|
|
|
|
|
|
|
|
|
if (view.type === ViewTypes.GALLERY && !copyFromView) { |
|
|
|
|
if (view.type === ViewTypes.GALLERY) { |
|
|
|
|
const galleryView = await GalleryView.get(context, view.id, ncMeta); |
|
|
|
|
if ( |
|
|
|
|
(column.id === galleryView.fk_cover_image_col_id && column.pv) || |
|
|
|
@ -1870,9 +1870,9 @@ export default class View implements ViewType {
|
|
|
|
|
} |
|
|
|
|
} else if (view.type === ViewTypes.KANBAN && !copyFromView) { |
|
|
|
|
const kanbanView = await KanbanView.get(context, view.id, ncMeta); |
|
|
|
|
if (column.id === kanbanView?.fk_grp_col_id) { |
|
|
|
|
if (column.id === kanbanView?.fk_grp_col_id && column.pv) { |
|
|
|
|
// include grouping field if it exists
|
|
|
|
|
show = column.pv ? true : false; |
|
|
|
|
show = true; |
|
|
|
|
} else if ( |
|
|
|
|
(column.id === kanbanView.fk_cover_image_col_id && column.pv) || |
|
|
|
|
(column.id !== kanbanView.fk_cover_image_col_id && column.pv) |
|
|
|
|