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) {
|
public function getPropertyDefinitionsForScope($href, $path) {
|
||||||
if ($this->backend) {
|
if ($this->backend) {
|
||||||
return $this->backend->getArbiterPath();
|
return $this->backend->getPropertyDefinitionsForScope($href, $path);
|
||||||
} else {
|
} else {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
@ -62,7 +62,7 @@ class LazySearchBackend implements ISearchBackend {
|
||||||
|
|
||||||
public function search(Query $query) {
|
public function search(Query $query) {
|
||||||
if ($this->backend) {
|
if ($this->backend) {
|
||||||
return $this->backend->getArbiterPath();
|
return $this->backend->search($query);
|
||||||
} else {
|
} else {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue