Merge pull request #10077 from nextcloud/lazy-search-fix

Fix lazy search backend
This commit is contained in:
Morris Jobke 2018-07-02 15:37:29 +02:00 committed by GitHub
commit fe807823d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ class LazySearchBackend implements ISearchBackend {
public function getPropertyDefinitionsForScope($href, $path) {
if ($this->backend) {
return $this->backend->getArbiterPath();
return $this->backend->getPropertyDefinitionsForScope($href, $path);
} else {
return [];
}
@ -62,7 +62,7 @@ class LazySearchBackend implements ISearchBackend {
public function search(Query $query) {
if ($this->backend) {
return $this->backend->getArbiterPath();
return $this->backend->search($query);
} else {
return [];
}