Skip to content
Snippets Groups Projects
Commit 4aa834bf authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Added Ellipsis to cut strings in description of results

parent c40c35e8
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
......@@ -42,7 +42,7 @@ class Result
if (strlen($this->descr) > 150) {
$this->descr = wordwrap($this->descr, 150);
$this->descr = substr($this->descr, 0, strpos($this->descr, "\n"));
$this->descr .= "…"; // Ellipsis character
}
$this->gefVon = trim($gefVon);
$this->gefVonLink = trim($gefVonLink);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment