[Tickets #12102] Re: Selected user list of share advanced is unsorted

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Mar 13 13:58:21 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12102
------------------------------------------------------------------------------
  Ticket             | 12102
  Updated 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              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


gerard.breiner at ias.u-psud.fr (2013-03-13 13:58) wrote:

>> 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.
>
> I have no idea what you mean by that. Horde_Auth_Ldap::listUsers()  
> is called in the kronolith code if you use an LDAP authentication  
> backend, so true is passed directly to the method, and further  
> passed to _sort() further down.
> I don't see how the user list could *not* be sorted if using LDAP.

Yet, it is?. I do understand that listUsers is define as  function  
listUsers($sort = false). Kronolith call it by listUsers(true), so  
$sort should be "true"  but  $sort remains "false" . For testing that  
true is not passed to the method, I modify temporarily in Ldap.php   
$sort = true then I noticed my ldap user list  is sorted. Therefore it  
is a fact that true is not passed to the method even  though I agree  
with you it should be.

Best regards.

Gérard






More information about the bugs mailing list