mirror of
https://github.com/UndefinedOffset/SortableGridField.git
synced 2024-10-22 17:05:38 +02:00
Fixed issue where append to top would not correct the order properly in model admin fixes #71
This commit is contained in:
parent
9ce8bca316
commit
81e8fae97a
@ -217,7 +217,7 @@ class GridFieldSortableRows implements GridField_HTMLProvider, GridField_ActionP
|
|||||||
|
|
||||||
$idCondition=null;
|
$idCondition=null;
|
||||||
if($this->append_to_top && !($list instanceof RelationList)) {
|
if($this->append_to_top && !($list instanceof RelationList)) {
|
||||||
$idCondition='"ID" IN(\''.implode("','", $list->getIDList()).'\')';
|
$idCondition='"ID" IN(\''.implode("','", $dataList->getIDList()).'\')';
|
||||||
}
|
}
|
||||||
|
|
||||||
if($this->append_to_top) {
|
if($this->append_to_top) {
|
||||||
|
Loading…
Reference in New Issue
Block a user