/** * Get short title * Override base method to assure a string and not an array * as long as title_short is multivalued=true in solr * (necessary because of faulty data) * * @return String */ public function getShortTitle() { $shortTitle = parent::getShortTitle(); return is_array($shortTitle) ? reset($shortTitle) : $shortTitle; }