Selecting parent and grantparent networks in entity releases filter.

This commit is contained in:
DebaucheryLibrarian 2023-06-19 01:25:31 +02:00
parent 4e6b098448
commit 67c1bc6b1c
2 changed files with 39 additions and 25 deletions

View File

@ -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