Skip to content

Commit 27a3cd1

Browse files
committed
Fixed empty objectID and parentObjetId
1 parent dd8c71b commit 27a3cd1

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

index.cds

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,14 +91,17 @@ annotate ChangeView with @(UI: {
9191
}],
9292
},
9393
LineItem : [
94-
{ Value: modification, @HTML5.CssDefaults: {width:'10%'} },
95-
{ Value: createdAt, @HTML5.CssDefaults: {width:'14%'} },
96-
{ Value: createdBy, @HTML5.CssDefaults: {width:'10%'} },
97-
{ Value: objectID, @HTML5.CssDefaults: {width:'16%'} },
98-
{ Value: parentObjectID, @HTML5.CssDefaults: {width:'16%'} },
99-
{ Value: attribute, @HTML5.CssDefaults: {width:'10%'} },
100-
{ Value: valueChangedTo, @HTML5.CssDefaults: {width:'13%'} },
101-
{ Value: valueChangedFrom, @HTML5.CssDefaults: {width:'13%'} },
94+
{ Value: modification, @HTML5.CssDefaults: {width:'6%'} },
95+
{ Value: createdAt, @HTML5.CssDefaults: {width:'12%'} },
96+
{ Value: createdBy, @HTML5.CssDefaults: {width:'9%'} },
97+
{ Value: objectID, @HTML5.CssDefaults: {width:'14%'} },
98+
{ Value: parentObjectID, @HTML5.CssDefaults: {width:'14%'} },
99+
{ Value: attribute, @HTML5.CssDefaults: {width:'9%'} },
100+
{ Value: valueChangedTo, @HTML5.CssDefaults: {width:'11%'} },
101+
{ Value: valueChangedFrom, @HTML5.CssDefaults: {width:'11%'} },
102+
// IMPORTANT: If we omit field 'entity' below, objectID and parentObjetId are empty in the UI
103+
// REVISIT: Find out and eliminate the reason for that
104+
{ Value: entity, @HTML5.CssDefaults: {width:'14%'} },
102105
],
103106
DeleteHidden : true,
104107
});

0 commit comments

Comments
 (0)