Selecting parent and grantparent networks in entity releases filter.
This commit is contained in:
parent
4e6b098448
commit
67c1bc6b1c
|
@ -91,13 +91,27 @@ function initEntitiesActions(store, router) {
|
|||
orderBy: $orderBy
|
||||
filter: {
|
||||
entity: {
|
||||
slug: {
|
||||
equalTo: $entitySlug
|
||||
or: [
|
||||
{
|
||||
slug: { equalTo: $entitySlug }
|
||||
type: { equalTo: $entityType }
|
||||
}
|
||||
type: {
|
||||
equalTo: $entityType
|
||||
{
|
||||
parent:{
|
||||
slug: { equalTo: $entitySlug }
|
||||
type: { equalTo: $entityType }
|
||||
}
|
||||
}
|
||||
{
|
||||
parent:{
|
||||
parent: {
|
||||
slug: { equalTo: $entitySlug }
|
||||
type: { equalTo: $entityType }
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
effectiveDate: {
|
||||
lessThan: $before,
|
||||
greaterThan: $after
|
||||
|
|
Loading…
Reference in New Issue