mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Do not clear all results when searching from users address books
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
0e665e0646
commit
7b76253aee
1 changed files with 1 additions and 4 deletions
|
|
@ -235,10 +235,7 @@ class MailPlugin implements ISearchPlugin {
|
|||
}
|
||||
|
||||
$reachedEnd = true;
|
||||
if (!$this->shareeEnumeration) {
|
||||
$result['wide'] = [];
|
||||
$userResults['wide'] = [];
|
||||
} else {
|
||||
if ($this->shareeEnumeration) {
|
||||
$reachedEnd = (count($result['wide']) < $offset + $limit) &&
|
||||
(count($userResults['wide']) < $offset + $limit);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue