Order result fetchObjectLinked by sourcetype
This commit is contained in:
parent
3a05d6c641
commit
4bb6bd8697
@ -1711,6 +1711,7 @@ abstract class CommonObject
|
||||
$sql.= "(fk_source = '".$sourceid."' AND sourcetype = '".$sourcetype."')";
|
||||
$sql.= " ".$clause." (fk_target = '".$targetid."' AND targettype = '".$targettype."')";
|
||||
}
|
||||
$sql = ' ORDER BY sourcetype';
|
||||
//print $sql;
|
||||
|
||||
dol_syslog(get_class($this)."::fetchObjectLink sql=".$sql);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user