/**
  * Display the value of this relation.
  *
  * @param array $record
  * @param string $mode
  *
  * @return string piece of html code
  */
 public function display($record, $mode)
 {
     $record[$this->fieldName()] = $record[$this->fieldName()]['selected'];
     return parent::display($record, $mode);
 }