Fix hide search label on computed field into lists
This commit is contained in:
parent
acfaec684d
commit
4683ef41be
@ -759,7 +759,11 @@ class ExtraFields
|
|||||||
$list=$this->attribute_list[$key];
|
$list=$this->attribute_list[$key];
|
||||||
$hidden=$this->attribute_hidden[$key];
|
$hidden=$this->attribute_hidden[$key];
|
||||||
|
|
||||||
if ($computed) return '<span class="opacitymedium">'.$langs->trans("AutomaticallyCalculated").'</span>';
|
if ($computed)
|
||||||
|
{
|
||||||
|
if ($keysuffix != 'search_') return '<span class="opacitymedium">'.$langs->trans("AutomaticallyCalculated").'</span>';
|
||||||
|
else return '';
|
||||||
|
}
|
||||||
|
|
||||||
if (empty($showsize))
|
if (empty($showsize))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user