diff --git a/trunk/conf/LSobjects/config.LSobjects.LSeegroup.php b/trunk/conf/LSobjects/config.LSobjects.LSeegroup.php index 2ce65191..d8c1fa5d 100644 --- a/trunk/conf/LSobjects/config.LSobjects.LSeegroup.php +++ b/trunk/conf/LSobjects/config.LSobjects.LSeegroup.php @@ -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( diff --git a/trunk/select.php b/trunk/select.php index 392a75e4..0cbc5e90 100644 --- a/trunk/select.php +++ b/trunk/select.php @@ -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))); diff --git a/trunk/view.php b/trunk/view.php index 76fb1d8e..96091271 100644 --- a/trunk/view.php +++ b/trunk/view.php @@ -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)));