forked from DebaucheryLibrarian/traxxx
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
|
orderBy: $orderBy
|
||||||
filter: {
|
filter: {
|
||||||
entity: {
|
entity: {
|
||||||
slug: {
|
or: [
|
||||||
equalTo: $entitySlug
|
{
|
||||||
|
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: {
|
effectiveDate: {
|
||||||
lessThan: $before,
|
lessThan: $before,
|
||||||
greaterThan: $after
|
greaterThan: $after
|
||||||
|
|
Loading…
Reference in New Issue