Add fields to search on extrafields
This commit is contained in:
parent
fd2166ed11
commit
360e202582
@ -779,6 +779,13 @@ if ($resql)
|
||||
if (! empty($arrayfields["ef.".$key]['checked']))
|
||||
{
|
||||
print '<td class="liste_titre">';
|
||||
$typeofextrafield=$extrafields->attribute_type[$key];
|
||||
if (in_array($typeofextrafield, array('varchar', 'int')))
|
||||
{
|
||||
$crit=$val;
|
||||
$tmpkey=preg_replace('/search_options_/','',$key);
|
||||
print '<input class="flat" size="4" type="text" name="search_options_'.$tmpkey.'" value="'.dol_escape_htmltag($search_array_options['search_options_'.$tmpkey]).'">';
|
||||
}
|
||||
print '</td>';
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user