Merge branch '1441-Búsqueda-y-ordenación-no-funcionan-correctamente-dev' into 'develop'
Fixed order by remote See merge request artica/pandorafms!1009
This commit is contained in:
commit
dbe717c1fc
|
@ -201,13 +201,13 @@ switch ($sortField) {
|
||||||
switch ($sort) {
|
switch ($sort) {
|
||||||
case 'up':
|
case 'up':
|
||||||
$selectRemoteUp = $selected;
|
$selectRemoteUp = $selected;
|
||||||
$order = array('field' => 'remote ' . $order_collation,
|
$order = array('field' => 'remote ',
|
||||||
'field2' => 'nombre ' . $order_collation,
|
'field2' => 'nombre ' . $order_collation,
|
||||||
'order' => 'ASC');
|
'order' => 'ASC');
|
||||||
break;
|
break;
|
||||||
case 'down':
|
case 'down':
|
||||||
$selectRemoteDown = $selected;
|
$selectRemoteDown = $selected;
|
||||||
$order = array('field' => 'remote ' . $order_collation,
|
$order = array('field' => 'remote ',
|
||||||
'field2' => 'nombre ' . $order_collation,
|
'field2' => 'nombre ' . $order_collation,
|
||||||
'order' => 'DESC');
|
'order' => 'DESC');
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue