Skip to content

Commit 32a5a8c

Browse files
authored
Merge pull request #45 from nguyenk/fix-simple-column-sortkey
fix sory key getter in SimpleColumn
2 parents d866da7 + d9f3f91 commit 32a5a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mouf/Html/Widgets/EvoluGrid/SimpleColumn.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public function isSortable() : bool
153153
*/
154154
public function getSortKey()
155155
{
156-
return $this->key;
156+
return $this->sortKey ?: $this->key;
157157
}
158158

159159
/**

0 commit comments

Comments
 (0)