From aa2f0f766d5a23f09aa7b5f001515be68a1aad99 Mon Sep 17 00:00:00 2001 From: lmarcouiller Date: Mon, 7 Dec 2020 11:25:06 +0100 Subject: [PATCH] Fix #15689 patch of Bug project filters in projet/list.php --- htdocs/projet/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php index 586d78ae7b3..16c56ee7dc0 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -144,7 +144,7 @@ $fieldstosearchall['s.nom'] = "ThirdPartyName"; $arrayfields = array(); foreach ($object->fields as $key => $val) { // 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