Formatting fixes

This commit is contained in:
Ed 2012-12-30 15:11:33 -04:00
parent 8242816b0f
commit fec61f43ad

View File

@ -116,9 +116,9 @@ class GridFieldSortableRows implements GridField_HTMLProvider, GridField_ActionP
protected function fixSortColumn($gridField, SS_List $dataList) {
$list=clone $dataList;
$list=$list->alterDataQuery(function($query, SS_List $tmplist) {
$query->limit(array());
return $query;
});
$query->limit(array());
return $query;
});
$many_many = ($list instanceof ManyManyList);
if (!$many_many) {