mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-23 02:19:07 +01:00
- LSldapObject : Ajout d'une possibilité de trie par défaut.
This commit is contained in:
parent
3b0f980c69
commit
dcae2d5a7c
3 changed files with 3 additions and 0 deletions
|
@ -26,6 +26,7 @@ $GLOBALS['LSobjects']['LSeegroup'] = array (
|
||||||
'posixGroup'
|
'posixGroup'
|
||||||
),
|
),
|
||||||
'rdn' => 'cn',
|
'rdn' => 'cn',
|
||||||
|
'orderby' => 'displayValue', // Valeurs possibles : 'displayValue' ou 'subDn'
|
||||||
'container_dn' => 'ou=groups',
|
'container_dn' => 'ou=groups',
|
||||||
'container_auto_create' => array(
|
'container_auto_create' => array(
|
||||||
'objectclass' => array(
|
'objectclass' => array(
|
||||||
|
|
|
@ -68,6 +68,7 @@ if($LSsession -> startLSsession()) {
|
||||||
$approx = false;
|
$approx = false;
|
||||||
$selectedTopDn = $GLOBALS['LSsession'] -> topDn;
|
$selectedTopDn = $GLOBALS['LSsession'] -> topDn;
|
||||||
$orderby = false;
|
$orderby = false;
|
||||||
|
$_REQUEST['orderby']=$GLOBALS['LSobjects'][$LSobject]['orderby'];
|
||||||
$ordersense = 'ASC';
|
$ordersense = 'ASC';
|
||||||
$subDnLdapServer = $GLOBALS['LSsession'] -> getSubDnLdapServer();
|
$subDnLdapServer = $GLOBALS['LSsession'] -> getSubDnLdapServer();
|
||||||
$doSubDn = (($subDnLdapServer)&&(!$GLOBALS['LSsession']->isSubDnLSobject($LSobject)));
|
$doSubDn = (($subDnLdapServer)&&(!$GLOBALS['LSsession']->isSubDnLSobject($LSobject)));
|
||||||
|
|
|
@ -196,6 +196,7 @@ if($LSsession -> startLSsession()) {
|
||||||
$recur = false;
|
$recur = false;
|
||||||
$approx = false;
|
$approx = false;
|
||||||
$orderby = false;
|
$orderby = false;
|
||||||
|
$_REQUEST['orderby']=$GLOBALS['LSobjects'][$LSobject]['orderby'];
|
||||||
$ordersense = 'ASC';
|
$ordersense = 'ASC';
|
||||||
$subDnLdapServer = $GLOBALS['LSsession'] -> getSubDnLdapServer();
|
$subDnLdapServer = $GLOBALS['LSsession'] -> getSubDnLdapServer();
|
||||||
$doSubDn = (($subDnLdapServer)&&(!$GLOBALS['LSsession']->isSubDnLSobject($LSobject)));
|
$doSubDn = (($subDnLdapServer)&&(!$GLOBALS['LSsession']->isSubDnLSobject($LSobject)));
|
||||||
|
|
Loading…
Reference in a new issue