contains, filtering an enum field with in, and indexing the field the list filters on.
Schema
Entity: Contacts — key:contacts
Key Patterns
Text Search with Debounce
Filter by Relationship
relationship is declared indexed: true, so this filter is served by an index rather than a scan of every contact. See Indexing fields.
Combined Search + Relationship Filter
Null-Safe HTML Escaping
Always guardescapeHtml against null/undefined values — optional fields may be absent on older records: