BUG-13873 IMPROVEMENT ordenación de columnas.
This commit is contained in:
@@ -881,9 +881,9 @@ class Process extends BaseProcess
|
|||||||
if (($this->sort) == '') {
|
if (($this->sort) == '') {
|
||||||
$this->sort = 'PRO_TITLE';
|
$this->sort = 'PRO_TITLE';
|
||||||
}
|
}
|
||||||
if ($a[$this->sort] > $b[$this->sort]) {
|
if (strtolower($a[$this->sort]) > strtolower($b[$this->sort])) {
|
||||||
return 1;
|
return 1;
|
||||||
} elseif ($a[$this->sort] < $b[$this->sort]) {
|
} elseif (strtolower($a[$this->sort]) < strtolower($b[$this->sort])) {
|
||||||
return - 1;
|
return - 1;
|
||||||
} else {
|
} else {
|
||||||
return 0;
|
return 0;
|
||||||
@@ -895,9 +895,9 @@ class Process extends BaseProcess
|
|||||||
if (($this->sort) == '') {
|
if (($this->sort) == '') {
|
||||||
$this->sort = 'PRO_TITLE';
|
$this->sort = 'PRO_TITLE';
|
||||||
}
|
}
|
||||||
if ($a[$this->sort] > $b[$this->sort]) {
|
if (strtolower($a[$this->sort]) > strtolower($b[$this->sort])) {
|
||||||
return - 1;
|
return - 1;
|
||||||
} elseif ($a[$this->sort] < $b[$this->sort]) {
|
} elseif (strtolower($a[$this->sort]) < strtolower($b[$this->sort])) {
|
||||||
return 1;
|
return 1;
|
||||||
} else {
|
} else {
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user