Fix #16794 V13 order by status instead of statut
This commit is contained in:
parent
861a5becf1
commit
6ba878725e
@ -474,7 +474,7 @@ class FormOther
|
|||||||
//Add hook to filter on user (for exemple on usergroup define in custom modules)
|
//Add hook to filter on user (for exemple on usergroup define in custom modules)
|
||||||
if (!empty($reshook)) $sql_usr .= $hookmanager->resArray[1];
|
if (!empty($reshook)) $sql_usr .= $hookmanager->resArray[1];
|
||||||
}
|
}
|
||||||
$sql_usr .= " ORDER BY statut DESC, lastname ASC"; // Do not use 'ORDER BY u.statut' here, not compatible with the UNION.
|
$sql_usr .= " ORDER BY status DESC, lastname ASC"; // Do not use 'ORDER BY u.statut' here, not compatible with the UNION.
|
||||||
//print $sql_usr;exit;
|
//print $sql_usr;exit;
|
||||||
|
|
||||||
$resql_usr = $this->db->query($sql_usr);
|
$resql_usr = $this->db->query($sql_usr);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user