summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2018-07-02 13:42:41 +0200
committerRobin Appelman <robin@icewind.nl>2018-07-02 13:42:41 +0200
commit1f9f5e2e5e14cabc6bd16bb7d1732347cde4e468 (patch)
tree4c0db3a8a7e7ba7193720971fc6b7a81e7f978fe
parentbff20585c761cdc23394cd18f8c643a19435cffd (diff)
downloadnextcloud-server-1f9f5e2e5e14cabc6bd16bb7d1732347cde4e468.tar.gz
nextcloud-server-1f9f5e2e5e14cabc6bd16bb7d1732347cde4e468.zip
Fix lazy search backend
Signed-off-by: Robin Appelman <robin@icewind.nl>
-rw-r--r--apps/dav/lib/Files/LazySearchBackend.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/dav/lib/Files/LazySearchBackend.php b/apps/dav/lib/Files/LazySearchBackend.php
index 6369046ae10..dc7fec607a4 100644
--- a/apps/dav/lib/Files/LazySearchBackend.php
+++ b/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 [];
}