Fixed position in query fields (#5036)

Position was not passed to the request query fields so it changed every
time we updated a field.
This commit is contained in:
Lucas Bordeau 2024-04-18 15:24:28 +02:00 committed by GitHub
parent df49575c3e
commit dc91d06e1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,7 @@ export const useRecordTableQueryFields = () => {
...Object.fromEntries(
visibleTableColumns.map((column) => [column.metadata.fieldName, true]),
),
position: true,
};
return queryFields;