Skip to content

Commit d9f3f91

Browse files
authored
Update src/Mouf/Html/Widgets/EvoluGrid/SimpleColumn.php
1 parent 97f94d0 commit d9f3f91

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->sortKey;
156+
return $this->sortKey ?: $this->key;
157157
}
158158

159159
/**

0 commit comments

Comments
 (0)