[kronolith] Selected user list of shore advanced is unsorted.

Gerard Breiner gerard.breiner at ias.u-psud.fr
Fri Mar 8 13:51:57 UTC 2013


Le 8 mars 2013 à 12:55, Jan Schneider a écrit :

> 
> Zitat von Gérard Breiner <gerard.breiner at ias.u-psud.fr>:
> 
>> Hello,
>> 
>> 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.
>> Yet the lines 68 and 192  <?php foreach ($auth->listUsers(true) as $user):
>> ?> should work and the function listUsers seems correct but the value ³true²
>> lost herself somewhere.
>> 
>> 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): ?>
>> 
>> My platform is under PHP 5.4.4-11 debian squeeze horde-5.0.3
>> kronolith-4.0.3
>> 
>> I would be curious to know more about this issue...
>> 
>> Thanks, best regards.
>> 
>> Gérard Breiner
> 
> How about reporting a bug ticket?

I've just done it… Ticket 12102
> -- 
> Jan Schneider
> The Horde Project
> http://www.horde.org/
> 
> -- 
> kronolith mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: kronolith-unsubscribe at lists.horde.org



More information about the kronolith mailing list