Skip to content
Snippets Groups Projects
Commit b27989d5 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #3665 from altatof/fix_extrafields

reenable search criteria in sql clause
parents 72c31c0f bf262c2c
No related branches found
No related tags found
No related merge requests found
......@@ -753,7 +753,7 @@ class ExtraFields
$sqlwhere.= ' WHERE 1';
}
if (in_array($InfoFieldList[0],array('tablewithentity'))) $sqlwhere.= ' AND entity = '.$conf->entity; // Some tables may have field, some other not. For the moment we disable it.
//$sql.=preg_replace('/^ AND /','',$sqlwhere);
$sql.=preg_replace('/^ AND /','',$sqlwhere);
//print $sql;
dol_syslog(get_class($this).'::showInputField type=sellist sql='.$sql);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment