Ancestor Criterion¶
The Ancestor Search Criterion searches for content that is an ancestor of the provided location, including this location.
Arguments¶
value- array of location pathStrings
Example¶
You can use this Search Criterion over the REST API, in the payload of the POST /views request:
1 2 3 4 5 | |
1 2 3 4 5 | |
Use case¶
You can use the Ancestor Search Criterion to create a list of breadcrumbs leading to a location, because it matches every ancestor of that location, including the location itself.