Fix missing orde by

This commit is contained in:
Laurent Destailleur 2016-01-14 17:09:59 +01:00
parent b5f057051b
commit a0fc26fbd8

View File

@ -686,7 +686,7 @@ else
// Load array of colors by type
$colorsbytype=array();
$labelbytype=array();
$sql="SELECT code, color, libelle FROM ".MAIN_DB_PREFIX."c_actioncomm";
$sql="SELECT code, color, libelle FROM ".MAIN_DB_PREFIX."c_actioncomm ORDER BY position";
$resql=$db->query($sql);
while ($obj = $db->fetch_object($resql))
{