BUG-13421 Ordenamiento en el listado de procesos 'Designer'.
Correccion NOTICE por falta de definicion del campo por el cual se realizara el ordenamiento.
This commit is contained in:
@@ -49,7 +49,7 @@ class Process extends BaseProcess
|
|||||||
*/
|
*/
|
||||||
protected $pro_title = '';
|
protected $pro_title = '';
|
||||||
public $dir = 'ASC';
|
public $dir = 'ASC';
|
||||||
public $sort = '';
|
public $sort = 'PRO_TITLE';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the [Pro_title] column value.
|
* Get the [Pro_title] column value.
|
||||||
@@ -878,7 +878,7 @@ class Process extends BaseProcess
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function ordProcessAsc ($a, $b)
|
public function ordProcessAsc ($a, $b)
|
||||||
{
|
{
|
||||||
if ($a[$this->sort] > $b[$this->sort]) {
|
if ($a[$this->sort] > $b[$this->sort]) {
|
||||||
return 1;
|
return 1;
|
||||||
} elseif ($a[$this->sort] < $b[$this->sort]) {
|
} elseif ($a[$this->sort] < $b[$this->sort]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user