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