Fix lazy search backend

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/10077/head
Robin Appelman 8 years ago
parent bff20585c7
commit 1f9f5e2e5e
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
  1. 4
      apps/dav/lib/Files/LazySearchBackend.php

@ -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 [];
}

Loading…
Cancel
Save