Permalink
Browse files

Formatting fixes

  • Loading branch information...
1 parent 8242816 commit fec61f43ad9a738a6be00b33888e8dacc52a61d0 @UndefinedOffset committed Dec 30, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 code/forms/GridFieldSortableRows.php
@@ -116,9 +116,9 @@ public function getManipulatedData(GridField $gridField, SS_List $dataList) {
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) {

0 comments on commit fec61f4

Please sign in to comment.