The filter is only referenced once in the full_metadata.xml file:
|
{% for contact_roles, label in layer.get_defined_contact_roles %} |
The contact roles are not added in the XML metadata document indeed.
Only checked on master, probably it's also on other branches.