Search: Use AND conjunction

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2022-03-12 14:26:13 +01:00
parent 92b6224052
commit 8e63225541
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ class Provider implements IProvider {
$params->setLimit($query->getLimit());
$params->setOffset($query->getCursor() ?? 0);
$params->setSearch(explode(' ', $query->getTerm()));
$params->setConjunction('and');
$bookmarks = $this->bookmarkMapper->findAll($user->getUID(), $params);
$results = array_map(function (Bookmark $bookmark) {