/** * attributes */ public function attributes() { // add related fields to searchable attributes return array_merge(parent::attributes(), ['attrs.attr_value_text', 'attrs.tag.tag_name']); }