diff --git a/src/Components/Tables/CuratorColumn.php b/src/Components/Tables/CuratorColumn.php index 1bd93264..f320620c 100644 --- a/src/Components/Tables/CuratorColumn.php +++ b/src/Components/Tables/CuratorColumn.php @@ -68,7 +68,7 @@ public function applyEagerLoading(EloquentBuilder|Relation $query): EloquentBuil $relationshipName = $this->getRelationshipName(); } else { - $relationshipName = $this->getName(); + return $query; } if (array_key_exists($relationshipName, $query->getEagerLoads())) {