Merge branch 'dev' of codeup.aliyun.com:61c14a7efa282c88e103c23f/oak-domain into dev
This commit is contained in:
commit
9c3e5e6fc3
|
|
@ -1658,7 +1658,10 @@ class CascadeStore extends RowStore_1.RowStore {
|
|||
}
|
||||
}
|
||||
if (total) {
|
||||
const total2 = await this.countAsync(entity, selection, context, option);
|
||||
const total2 = await this.countAsync(entity, {
|
||||
filter: selection.filter,
|
||||
count: total,
|
||||
}, context, option);
|
||||
Object.assign(rows, {
|
||||
'#total': total2,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "oak-domain",
|
||||
"version": "3.0.4",
|
||||
"version": "3.1.0",
|
||||
"author": {
|
||||
"name": "XuChang"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2044,7 +2044,10 @@ export abstract class CascadeStore<ED extends EntityDict & BaseEntityDict> exten
|
|||
}
|
||||
|
||||
if (total) {
|
||||
const total2 = await this.countAsync(entity, selection, context, option);
|
||||
const total2 = await this.countAsync(entity, {
|
||||
filter: selection.filter,
|
||||
count: total,
|
||||
}, context, option);
|
||||
Object.assign(rows, {
|
||||
'#total': total2,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue