mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 09:59:06 +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'
|
||||
),
|
||||
'rdn' => 'cn',
|
||||
'orderby' => 'displayValue', // Valeurs possibles : 'displayValue' ou 'subDn'
|
||||
'container_dn' => 'ou=groups',
|
||||
'container_auto_create' => array(
|
||||
'objectclass' => array(
|
||||
|
|
|
@ -68,6 +68,7 @@ if($LSsession -> startLSsession()) {
|
|||
$approx = false;
|
||||
$selectedTopDn = $GLOBALS['LSsession'] -> topDn;
|
||||
$orderby = false;
|
||||
$_REQUEST['orderby']=$GLOBALS['LSobjects'][$LSobject]['orderby'];
|
||||
$ordersense = 'ASC';
|
||||
$subDnLdapServer = $GLOBALS['LSsession'] -> getSubDnLdapServer();
|
||||
$doSubDn = (($subDnLdapServer)&&(!$GLOBALS['LSsession']->isSubDnLSobject($LSobject)));
|
||||
|
|
|
@ -196,6 +196,7 @@ if($LSsession -> startLSsession()) {
|
|||
$recur = false;
|
||||
$approx = false;
|
||||
$orderby = false;
|
||||
$_REQUEST['orderby']=$GLOBALS['LSobjects'][$LSobject]['orderby'];
|
||||
$ordersense = 'ASC';
|
||||
$subDnLdapServer = $GLOBALS['LSsession'] -> getSubDnLdapServer();
|
||||
$doSubDn = (($subDnLdapServer)&&(!$GLOBALS['LSsession']->isSubDnLSobject($LSobject)));
|
||||
|
|
Loading…
Reference in a new issue