mirror of
https://github.com/UndefinedOffset/SortableGridField.git
synced 2024-10-22 15:05:38 +00:00
Replaced use of DataList::where() with DataList::filter()
This commit is contained in:
parent
3f1f5dbdb4
commit
81886ed81a
@ -153,7 +153,7 @@ class GridFieldSortableRows implements GridField_HTMLProvider, GridField_ActionP
|
||||
|
||||
|
||||
$max = $list->Max($this->sortColumn);
|
||||
$list=$list->where('"'.$this->sortColumn.'"=0');
|
||||
$list=$list->filter($this->sortColumn, 0);
|
||||
if($list->Count()>0) {
|
||||
$owner = $gridField->Form->getRecord();
|
||||
$sortColumn = $this->sortColumn;
|
||||
|
Loading…
x
Reference in New Issue
Block a user