mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 08:21:53 +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;
|
||||
|
||||
if (scopeKey) {
|
||||
const groups = await this.collection.repository.find({
|
||||
attributes: [scopeKey],
|
||||
group: [scopeKey],
|
||||
raw: true,
|
||||
transaction,
|
||||
});
|
||||
|
||||
const needInitGroups = [];
|
||||
|
Loading…
Reference in New Issue
Block a user