Skip to content

Commit 2a41012

Browse files
committed
Use FilterService for fetching reverse relations
1 parent c1e793c commit 2a41012

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Core/Site/RelationService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public function loadReverseFieldRelations(
169169
$query->limit = $limit;
170170
}
171171

172-
$result = $this->site->getFindService()->findContent($query);
172+
$result = $this->site->getFilterService()->filterContent($query);
173173

174174
return $this->extractContentItems($result);
175175
}
@@ -201,7 +201,7 @@ public function loadReverseFieldRelationLocations(
201201
$query->limit = $limit;
202202
}
203203

204-
$result = $this->site->getFindService()->findLocations($query);
204+
$result = $this->site->getFilterService()->filterLocations($query);
205205

206206
return $this->extractLocations($result);
207207
}

0 commit comments

Comments
 (0)