Skip to content

Commit c70aed7

Browse files
committed
Return the sorting attribute name.
1 parent ba9fb8f commit c70aed7

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)