mirror of https://github.com/nextcloud/bookmarks
Search: Use AND conjunction
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
92b6224052
commit
8e63225541
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue