et Fixed compatibility issues with SilverStripe 3.1 (issue #19)

This commit is contained in:
Ed 2012-12-28 14:37:25 -04:00
parent ff188ed1ec
commit 8242816b0f

View File

@ -117,7 +117,7 @@ class GridFieldSortableRows implements GridField_HTMLProvider, GridField_ActionP
$list=clone $dataList;
$list=$list->alterDataQuery(function($query, SS_List $tmplist) {
$query->limit(array());
return $query
return $query;
});
$many_many = ($list instanceof ManyManyList);