Sorting mode sur les champs selects a plusieurs valeur.
This commit is contained in:
parent
54eab39cb6
commit
2e68ca6881
@ -600,8 +600,9 @@ Class Fields
|
||||
$formeJuridiques = $formeJuridiques->fetchAll($sql)->toArray();
|
||||
$value = array();
|
||||
foreach($formeJuridiques as $form) {
|
||||
$value[$form['fjCode']] = $form['fjLibelle'];
|
||||
$value[$form['fjCode']] = $form['fjLibelle'].' ['.$form['fjCode'].']';
|
||||
}
|
||||
asort($value);
|
||||
$this->fields[$name]['fields']['select']['value'] = $value;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user