Filter results by reference field (.contains)

Hi,

I’ve found a compromise, i added each page the ID of the referenced field to the filter.