Skip to content

Commit 69545a6

Browse files
committed
CollapseTweaks
1 parent eb2fbcd commit 69545a6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Features/Columns/Views/Traits/Helpers/ColumnHelpers.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ public function getTable(): ?string
6161

6262
public function getColumn(): ?string
6363
{
64-
return $this->getTable().'.'.$this->getField();
64+
if ($this->isBaseColumn()) {
65+
return $this->getField();
66+
}
67+
return $this->getRelationString().'.'.$this->getField();
6568
}
6669

6770
public function getColumnSelectName(): ?string

0 commit comments

Comments
 (0)