Fix lazy search backend
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
821d658ec3
commit
94a367910e
|
@ -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…
Reference in New Issue