Corrige l'affichage des intitulés lors de la recherche d'une entité parente
This commit is contained in:
parent
cfec7c9adc
commit
ecdd470011
|
@ -126,7 +126,6 @@ $GLOBALS['LSobjects']['LSsupannEntite'] = array (
|
|||
'html_options' => array(
|
||||
'selectable_object' => array(
|
||||
'object_type' => 'LSsupannEntiteBase',
|
||||
'display_name_format' => '%{description}',
|
||||
'value_attribute' => 'supannCodeEntite'
|
||||
)
|
||||
),
|
||||
|
|
|
@ -26,7 +26,7 @@ $GLOBALS['LSobjects']['LSsupannEntiteBase'] = array (
|
|||
),
|
||||
'rdn' => 'supannCodeEntite',
|
||||
'container_dn' => 'ou=structures',
|
||||
'display_name_format' => '%{description}',
|
||||
'display_name_format' => '%{ou}%{o}',
|
||||
'label' => 'Entités',
|
||||
|
||||
// LSform
|
||||
|
@ -42,6 +42,8 @@ $GLOBALS['LSobjects']['LSsupannEntiteBase'] = array (
|
|||
'description',
|
||||
'supannCodeEntite',
|
||||
'supannRefId',
|
||||
'o',
|
||||
'ou',
|
||||
),
|
||||
),
|
||||
|
||||
|
@ -102,12 +104,66 @@ $GLOBALS['LSobjects']['LSsupannEntiteBase'] = array (
|
|||
|
||||
/* ----------- start -----------*/
|
||||
'supannTypeEntite' => array (
|
||||
'label' => "Type de l\'entité",
|
||||
'label' => 'Type de l\'entité',
|
||||
'ldap_type' => 'ascii',
|
||||
'html_type' => 'supannTypeEntite',
|
||||
'multiple' => 1,
|
||||
),
|
||||
/* ----------- end -----------*/
|
||||
|
||||
/* ----------- start -----------*/
|
||||
'ou' => array (
|
||||
'label' => "Nom cours",
|
||||
'ldap_type' => 'ascii',
|
||||
'html_type' => 'text',
|
||||
'required' => 1,
|
||||
'validation' => array (
|
||||
array (
|
||||
'object_type' => 'LSsupannEntite',
|
||||
'filter' => 'ou=%{val}',
|
||||
'result' => 0
|
||||
)
|
||||
),
|
||||
'view' => 1,
|
||||
'rights' => array(
|
||||
'admin' => 'w'
|
||||
),
|
||||
'form' => array (
|
||||
'modify' => 1,
|
||||
'create' => 1
|
||||
),
|
||||
'dependAttrs' => array (
|
||||
'description'
|
||||
)
|
||||
),
|
||||
/* ----------- end -----------*/
|
||||
|
||||
/* ----------- start -----------*/
|
||||
'o' => array (
|
||||
'label' => "Nom",
|
||||
'ldap_type' => 'ascii',
|
||||
'html_type' => 'text',
|
||||
'required' => 1,
|
||||
'validation' => array (
|
||||
array (
|
||||
'object_type' => 'LSsupannOrg',
|
||||
'filter' => 'o=%{val}',
|
||||
'result' => 0
|
||||
)
|
||||
),
|
||||
'view' => 1,
|
||||
'rights' => array(
|
||||
'admin' => 'w'
|
||||
),
|
||||
'form' => array (
|
||||
'modify' => 1,
|
||||
'create' => 1
|
||||
),
|
||||
'dependAttrs' => array (
|
||||
'eduOrgLegalName',
|
||||
)
|
||||
),
|
||||
/* ----------- end -----------*/
|
||||
)
|
||||
);
|
||||
?>
|
||||
|
|
Reference in New Issue