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
|
$query
|
||||||
);
|
);
|
||||||
|
|
||||||
$results = array_map(function(Room $room) {
|
$results = [];
|
||||||
return [
|
|
||||||
new SearchResultEntry(
|
foreach($rooms as $room) {
|
||||||
|
$results[] = new SearchResultEntry(
|
||||||
'',
|
'',
|
||||||
$room->getName(),
|
$room->getName(),
|
||||||
$this->getAccess($room->getAccess()),
|
$this->getAccess($room->getAccess()),
|
||||||
$this->urlGenerator->linkToRoute('bbb.page.index'),
|
$this->urlGenerator->linkToRouteAbsolute('bbb.page.index'),
|
||||||
$this->urlGenerator->imagePath('bbb', 'app-grey.svg')
|
$this->urlGenerator->imagePath('bbb', 'app-grey.svg')
|
||||||
)
|
);
|
||||||
];
|
}
|
||||||
}, $rooms);
|
|
||||||
|
|
||||||
return SearchResult::complete(
|
return SearchResult::complete(
|
||||||
'BBB',
|
'BBB',
|
||||||
|
|
Loading…
Reference in New Issue