diff --git a/code/forms/GridFieldSortableRows.php b/code/forms/GridFieldSortableRows.php index ccbb6f6..6139d1b 100644 --- a/code/forms/GridFieldSortableRows.php +++ b/code/forms/GridFieldSortableRows.php @@ -131,7 +131,7 @@ class GridFieldSortableRows implements GridField_HTMLProvider, GridField_ActionP $max = $list->Max($this->sortColumn); - $list=$list->where('"'.$this->sortColumn.'"=0'); + $list=$list->where('"'.$this->sortColumn.'"=0'); if($list->Count()>0) { $owner = $gridField->Form->getRecord(); $sortColumn = $this->sortColumn;