We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a45480 commit b34525fCopy full SHA for b34525f
custom/InlineList.vue
@@ -191,12 +191,21 @@ const endFilters = computed(() => {
191
}), 10000);
192
return [];
193
}
194
+
195
+ let primaryKeyValue = null;
196
+ if (primaryKeyColumn.foreignResource) {
197
+ primaryKeyColumn = props.record[primaryKeyColumn.name].value;
198
+ } else {
199
+ primaryKeyValue = props.record[primaryKeyColumn.name];
200
+ }
201
202
203
return [
204
...filters.value,
205
{
206
field: refColumn.name,
207
operator: 'eq',
- value: props.record[primaryKeyColumn.name],
208
+ value: primaryKeyValue,
209
},
210
];
211
});
0 commit comments