在composeOperation的过程中,如果是作为子结点,不将intrinsticFilter编进去
This commit is contained in:
parent
aedc3a571f
commit
61b3e1589b
|
|
@ -1316,7 +1316,7 @@ class SingleNode extends Node {
|
|||
entity: this.entity,
|
||||
operation: {
|
||||
...rest,
|
||||
filter: intrinsticFilter ? combineFilters(this.entity, this.schema, [
|
||||
filter: (intrinsticFilter && !fromParent) ? combineFilters(this.entity, this.schema, [
|
||||
{
|
||||
id: this.getId(),
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1319,7 +1319,7 @@ class SingleNode extends Node {
|
|||
entity: this.entity,
|
||||
operation: {
|
||||
...rest,
|
||||
filter: intrinsticFilter ? (0, filter_1.combineFilters)(this.entity, this.schema, [
|
||||
filter: (intrinsticFilter && !fromParent) ? (0, filter_1.combineFilters)(this.entity, this.schema, [
|
||||
{
|
||||
id: this.getId(),
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1603,7 +1603,7 @@ class SingleNode<ED extends EntityDict & BaseEntityDict,
|
|||
entity: this.entity,
|
||||
operation: {
|
||||
...rest,
|
||||
filter: intrinsticFilter ? combineFilters(this.entity, this.schema, [
|
||||
filter: (intrinsticFilter && !fromParent) ? combineFilters(this.entity, this.schema, [
|
||||
{
|
||||
id: this.getId(),
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue