Skip to content

Commit

Permalink
Merge pull request #415 from awcodes/fix/column-relationship-query
Browse files Browse the repository at this point in the history
Fix: but in eager loading on column
  • Loading branch information
awcodes authored Jan 10, 2024
2 parents 465643b + 4591dc5 commit 66ae974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Tables/CuratorColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -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())) {
Expand Down

0 comments on commit 66ae974

Please sign in to comment.