[Tickets #12102] Selected user list of share advanced is unsorted
noreply at bugs.horde.org
noreply at bugs.horde.org
Fri Mar 8 13:39:44 UTC 2013
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12102
------------------------------------------------------------------------------
Ticket | 12102
Created By | gerard.breiner at ias.u-psud.fr
Summary | Selected user list of share advanced is unsorted
Queue | Kronolith
Version | 4.0.3
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
gerard.breiner at ias.u-psud.fr (2013-03-08 13:39) wrote:
It appears that the select user list of shore advanced is unsorted. The
template that is in charge of this is
kronolith/templates/chunks/permissions.inc
I find out that at the lines 68 and 192 the function listUsers is called
with the value ³true² that means we want a sorted list but the issue is that
the value ³true² is not transmit to the variable $sort of listUsers. This
function is defined in pear/php/Horde/Auth/Ldap.php.
In the waiting of an answer to this issue I modified permissions.inc as
follow :
-- <?php foreach ($auth->listUsers(true) as $user): ?>
++ <?php $userslist = $auth->listUsers(); sort($userslist); foreach
($userslist as $user): ?>
Many thanks.
Best regards
Gérard Breiner
More information about the bugs
mailing list