Fix lazy search backend

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2018-07-02 13:42:41 +02:00
parent 821d658ec3
commit 94a367910e
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
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 [];
}