protected function getFilterField() { $field = $this->getAttributeModel()->getAttributeCode(); if ($this->getAttributeModel()->usesSource()) { $field = $this->mappingHelper->getOptionTextFieldName($field); } return $field; }