Skip to content

Commit 4bcb7e1

Browse files
committed
Merge pull request #860 from dmolineus/fix/inputscreen-render-sorting-attribute
Return the sorting attribute name. Fixes contao-community-alliance/dc-general#154.
2 parents ba9fb8f + c70aed7 commit 4bcb7e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MetaModels/BackendIntegration/InputScreen/InputScreenGroupingAndSorting.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function getRenderSortAttribute()
114114
if ($metaModel) {
115115
$attribute = $metaModel->getAttributeById($this->data['rendersortattr']);
116116
if ($attribute) {
117-
$attribute->getColName();
117+
return $attribute->getColName();
118118
}
119119
}
120120
}

0 commit comments

Comments
 (0)