Merge pull request #15690 from Hystepik/develop#4
Fix #15689 patch of Bug project filters in projet/list.php
This commit is contained in:
commit
cf8130e4b9
@ -144,7 +144,7 @@ $fieldstosearchall['s.nom'] = "ThirdPartyName";
|
|||||||
$arrayfields = array();
|
$arrayfields = array();
|
||||||
foreach ($object->fields as $key => $val) {
|
foreach ($object->fields as $key => $val) {
|
||||||
// If $val['visible']==0, then we never show the field
|
// If $val['visible']==0, then we never show the field
|
||||||
if (!empty($val['visible'])) $arrayfields['t.'.$key] = array('label'=>$val['label'], 'checked'=>(($val['visible'] < 0) ? 0 : 1), 'enabled'=>($val['enabled'] && ($val['visible'] != 3)), 'position'=>$val['position']);
|
if (!empty($val['visible'])) $arrayfields['p.'.$key] = array('label'=>$val['label'], 'checked'=>(($val['visible'] < 0) ? 0 : 1), 'enabled'=>($val['enabled'] && ($val['visible'] != 3)), 'position'=>$val['position']);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add none object fields to fields for list
|
// Add none object fields to fields for list
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user