mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
FIX to be an actual working bit of code...
This commit is contained in:
parent
d9182a65d2
commit
b3b4ea7168
@ -272,10 +272,9 @@ class GridFieldOrderableRows extends RequestHandler implements
|
|||||||
protected function sortTerm($list) {
|
protected function sortTerm($list) {
|
||||||
// need to handle ANSI escaping for DBs differently from other list types
|
// need to handle ANSI escaping for DBs differently from other list types
|
||||||
if ($list instanceof DataList) {
|
if ($list instanceof DataList) {
|
||||||
$sortterm .= '"'.$this->getSortTable($list).'"."'.$this->getSortField().'"';
|
return '"'.$this->getSortTable($list).'"."'.$this->getSortField().'"';
|
||||||
} else {
|
}
|
||||||
$sortterm .= $this->getSortTable($list).'.'.$this->getSortField();
|
return $this->getSortTable($list).'.'.$this->getSortField();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user