Allow filtering by direct parent's metadata
Add a new bool
parameter filter_parent_metadatas
that will trigger a different behaviour.
Instead of using the element's metadata to filter, we will use the parent's (through ListElementParents
with with_metadata=True
).