This commit is contained in:
Jan Prochazka
2022-12-30 10:30:38 +01:00
parent 646a83b288
commit 380ab2e69e
5 changed files with 25 additions and 11 deletions

View File

@@ -51,7 +51,7 @@ function addObjectToColumns(columns: PerspectiveDataPatternColumn[], row) {
if (!column.types.includes(type)) {
column.types.push(type);
}
if (_isPlainObject(value)) {
if (_isPlainObject(value) && type != 'oid') {
addObjectToColumns(column.columns, value);
}
if (_isArray(value)) {

View File

@@ -54,7 +54,7 @@ export class PerspectiveDataProvider {
...props,
bindingValues: uncached,
});
// console.log('COUNTS', counts);
// console.log('loadDataNested COUNTS', counts);
for (const resetItem of uncached) {
tableCache.storeGroupSize(props, resetItem, 0);
}

View File

@@ -1248,7 +1248,7 @@ export class PerspectiveCustomJoinTreeNode extends PerspectiveTableNode {
}
matchChildRow(parentRow: any, childRow: any): boolean {
// console.log('MATCH ROW', parentRow, childRow);
console.log('MATCH ROW', parentRow, childRow);
for (const column of this.customJoin.columns) {
if (parentRow[getPerspectiveMostNestedChildColumnName(column.baseColumnName)] != childRow[column.refColumnName]) {
return false;