Merge pull request #5854 from defrance/patch-32
NEW Unactive user are at bottom of select list
This commit is contained in:
commit
9b1459e045
@ -409,7 +409,7 @@ class FormOther
|
||||
$sql_usr.= " WHERE u2.entity IN (0,".$conf->entity.")";
|
||||
$sql_usr.= " AND u2.rowid = sc.fk_user AND sc.fk_soc=".$user->societe_id;
|
||||
}
|
||||
$sql_usr.= " ORDER BY lastname ASC";
|
||||
$sql_usr.= " ORDER BY u.statut DESC, lastname ASC";
|
||||
//print $sql_usr;exit;
|
||||
|
||||
$resql_usr = $this->db->query($sql_usr);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user