Skip to content

Commit

Permalink
Fix getUserBoards call
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliushaertl committed Aug 21, 2020
1 parent 78e7907 commit 86b3475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Search/DeckProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function getName(): string {
public function search(IUser $user, ISearchQuery $query): SearchResult {
$boards = $this->boardService->getUserBoards();

$matchedBoards = array_filter($this->getUserBoards(-1), static function (Board $board) use ($query) {
$matchedBoards = array_filter($this->boardService->getUserBoards(), static function (Board $board) use ($query) {
return mb_stripos($board->getTitle(), $query->getTerm()) > -1;
});

Expand Down

0 comments on commit 86b3475

Please sign in to comment.