public function attributes() { /*Author -ptr.nov- add related fields to searchable attributes */ return array_merge(parent::attributes(), ['parentsa.KD_SA', 'parentsa.CREATED_AT']); }