Skip to content
Snippets Groups Projects
Commit 008d4a3d authored by Gregor Gawol's avatar Gregor Gawol Committed by Dorian Merz
Browse files

refs #15317 [master] display title detail view

* retrieve solr field title_part_str
parent 24bce2e9
No related merge requests found
...@@ -1348,4 +1348,15 @@ trait SolrDefaultFincTrait ...@@ -1348,4 +1348,15 @@ trait SolrDefaultFincTrait
return isset($this->fields['kxp_id_str']) return isset($this->fields['kxp_id_str'])
? $this->fields['kxp_id_str'] : []; ? $this->fields['kxp_id_str'] : [];
} }
/**
* Return content of Solr field title_part_str if set
*
* @return mixed
*/
public function getTitlePart()
{
return isset($this->fields['title_part_str']) ?
$this->fields['title_part_str'] : null;
}
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment