mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-21 13:37:28 +00:00
[Bugfix] The sequence of primary columns in the table changes after updating rows using the query builder (#5374)
* fixes: The sequence of primary columns in the table changes after updating rows using the query builder
* Revert "fixes: The sequence of primary columns in the table changes after updating rows using the query builder"
This reverts commit b0f262332e.
* update query with order as parameter
This commit is contained in:
parent
c22059498a
commit
6e057e89b9
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ async function updateRows(queryOptions, organizationId, currentState) {
|
|||
|
||||
!isEmpty(whereQuery) && query.push(whereQuery);
|
||||
|
||||
return await tooljetDatabaseService.updateRows(organizationId, tableName, body, query.join('&'));
|
||||
return await tooljetDatabaseService.updateRows(organizationId, tableName, body, query.join('&') + '&order=id');
|
||||
}
|
||||
|
||||
async function deleteRows(queryOptions, organizationId, currentState) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue