minor changes

This commit is contained in:
2019-05-02 19:27:31 +02:00
parent 8c3c9c4a1f
commit ad45e71051
4 changed files with 12 additions and 5 deletions

View File

@@ -120,7 +120,9 @@ class EventSearch extends AbstractSearch
foreach ($search as $item) {
$results[] = [
'id' => $item->getId(),
'text' => $item->getDate()->format('d-m-Y, H:i'). ' → ' .$item->getName()
'text' => $item->getDate()->format('d/m/Y, H:i') . ' → ' .
// $item->getType()->getName()['fr'] . ': ' . // display the type of event
$item->getName()
];
}
return [