Fix output of extrafield select list from table (in case of filter with
extrafields table)
This commit is contained in:
parent
85ea8b4161
commit
7696730680
@ -935,6 +935,10 @@ class ExtraFields
|
||||
|
||||
$sql = 'SELECT '.$keyList;
|
||||
$sql.= ' FROM '.MAIN_DB_PREFIX .$InfoFieldList[0];
|
||||
if (strpos($InfoFieldList[4], 'extra')!==false)
|
||||
{
|
||||
$sql.= ' as main';
|
||||
}
|
||||
$sql.= ' WHERE '.$selectkey.'=\''.$this->db->escape($value).'\'';
|
||||
//$sql.= ' AND entity = '.$conf->entity;
|
||||
dol_syslog(get_class($this).':showOutputField:$type=sellist sql='.$sql);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user