mirror of https://github.com/sualko/cloud_bbb
fix: results now showing up in ios app
parent
c80135c4ce
commit
c9c9e023ab
|
@ -77,17 +77,17 @@ class Provider implements IProvider {
|
|||
$query
|
||||
);
|
||||
|
||||
$results = array_map(function(Room $room) {
|
||||
return [
|
||||
new SearchResultEntry(
|
||||
'',
|
||||
$room->getName(),
|
||||
$this->getAccess($room->getAccess()),
|
||||
$this->urlGenerator->linkToRoute('bbb.page.index'),
|
||||
$this->urlGenerator->imagePath('bbb', 'app-grey.svg')
|
||||
)
|
||||
];
|
||||
}, $rooms);
|
||||
$results = [];
|
||||
|
||||
foreach($rooms as $room) {
|
||||
$results[] = new SearchResultEntry(
|
||||
'',
|
||||
$room->getName(),
|
||||
$this->getAccess($room->getAccess()),
|
||||
$this->urlGenerator->linkToRouteAbsolute('bbb.page.index'),
|
||||
$this->urlGenerator->imagePath('bbb', 'app-grey.svg')
|
||||
);
|
||||
}
|
||||
|
||||
return SearchResult::complete(
|
||||
'BBB',
|
||||
|
|
Loading…
Reference in New Issue