[Tickets #1305] NEW: Sort LDAP users
bugs at bugs.horde.org
bugs at bugs.horde.org
Thu Feb 3 07:48:30 PST 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=1305
-----------------------------------------------------------------------
Ticket | 1305
Created By | kevin_myer at iu13.org
Summary | Sort LDAP users
Queue | Horde Base
Version | 3.0.3-RC1
State | New
Priority | 1. Low
Type | Enhancement
Owners |
-----------------------------------------------------------------------
kevin_myer at iu13.org (2005-02-03 07:48) wrote:
The following simple patch sorts a list of users returned from LDAP. This
is particularly useful when working with shares and permissions in our
organization (1400+ users). When the users aren't sorted alphabetically,
its difficult to quickly find them.
--- horde/lib/Horde/Auth/ldap.php 2005-02-03 09:03:27.000000000 -0500
+++ horde/lib/Horde/Auth/ldap.php 2005-02-03 10:43:32.000000000 -0500
@@ -327,6 +327,7 @@
for ($i = 0; $i < $entries['count']; $i++) {
$userlist[$i] = $entries[$i][$this->_params['uid']][0];
}
+ sort ( $userlist );
return $userlist;
}
More information about the bugs
mailing list