mirror of
https://github.com/UndefinedOffset/SortableGridField.git
synced 2024-10-22 17:05:38 +02:00
Formatting fixes
This commit is contained in:
parent
8242816b0f
commit
fec61f43ad
@ -116,9 +116,9 @@ class GridFieldSortableRows implements GridField_HTMLProvider, GridField_ActionP
|
|||||||
protected function fixSortColumn($gridField, SS_List $dataList) {
|
protected function fixSortColumn($gridField, SS_List $dataList) {
|
||||||
$list=clone $dataList;
|
$list=clone $dataList;
|
||||||
$list=$list->alterDataQuery(function($query, SS_List $tmplist) {
|
$list=$list->alterDataQuery(function($query, SS_List $tmplist) {
|
||||||
$query->limit(array());
|
$query->limit(array());
|
||||||
return $query;
|
return $query;
|
||||||
});
|
});
|
||||||
|
|
||||||
$many_many = ($list instanceof ManyManyList);
|
$many_many = ($list instanceof ManyManyList);
|
||||||
if (!$many_many) {
|
if (!$many_many) {
|
||||||
|
Loading…
Reference in New Issue
Block a user