mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
Clone lists for 3.0 compatibility. Closes #1.
This commit is contained in:
parent
1c17f8e523
commit
57572def57
@ -244,6 +244,7 @@ class GridFieldOrderableRows extends RequestHandler implements
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected function populateSortValues(DataList $list) {
|
protected function populateSortValues(DataList $list) {
|
||||||
|
$list = clone $list;
|
||||||
$field = $this->getSortField();
|
$field = $this->getSortField();
|
||||||
$table = $this->getSortTable($list);
|
$table = $this->getSortTable($list);
|
||||||
$clause = $this->getSortTableClauseForIds($list, 0);
|
$clause = $this->getSortTableClauseForIds($list, 0);
|
||||||
|
@ -11,6 +11,6 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"silverstripe/framework": ">=3.1"
|
"silverstripe/framework": "3.*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user