mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 10:26:45 +00:00
fix: transaction params
This commit is contained in:
parent
55c7bb5cf5
commit
0c17d609fa
@ -119,12 +119,12 @@ export class SortField extends Field {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const scopeKey = this.options.scopeKey;
|
const scopeKey = this.options.scopeKey;
|
||||||
|
|
||||||
if (scopeKey) {
|
if (scopeKey) {
|
||||||
const groups = await this.collection.repository.find({
|
const groups = await this.collection.repository.find({
|
||||||
attributes: [scopeKey],
|
attributes: [scopeKey],
|
||||||
group: [scopeKey],
|
group: [scopeKey],
|
||||||
raw: true,
|
raw: true,
|
||||||
|
transaction,
|
||||||
});
|
});
|
||||||
|
|
||||||
const needInitGroups = [];
|
const needInitGroups = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user