addClass(SearchUpdaterTest_Container::class); // this one has not the relation defined in it's class but is rather inherited from parent // note that even if we do not include it's parent class the fields will be properly added $this->addClass(SearchUpdaterTest_ExtendedContainer::class); // These relationships exist on both classes $this->addFilterField('HasManyObjects.Field1'); $this->addFilterField('ManyManyObjects.Field1'); } }