- LSldapObject : Ajout d'une possibilité de trie par défaut.

This commit is contained in:
Benjamin Renard 2008-10-27 11:20:51 +00:00
parent 3b0f980c69
commit dcae2d5a7c
3 changed files with 3 additions and 0 deletions

View file

@ -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(

View file

@ -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)));

View file

@ -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)));