We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7d042b commit ef5abc0Copy full SHA for ef5abc0
src/Eager/Related.php
@@ -92,7 +92,7 @@ public function resolve(RestifyRequest $request, Repository $repository): self
92
93
$paginator = $repository->resource->relationLoaded($this->getRelation())
94
? $repository->resource->{$this->getRelation()}
95
- : $repository->resource->{$this->getRelation()}()->select($this->getColumns());
+ : $repository->resource->{$this->getRelation()}();
96
97
if (is_null($paginator)) {
98
$this->value = null;
0 commit comments