Item12366: Sorting of LDAP output disabled
Current State: Confirmed
Released In: n/a
Sorting of the LDAP output seems to have been disabled deliberately in one of the last version (tested with version 16128 from 2012-11-29). Neither the release notes nor the syntax documentation mention this.
#@entries = $search->sorted(@theSort); SMELL: out of order
- 23 Jan 2013
Yes this has to be disabled because Net::LDAP isn't able to sort entries found while following references. These all are gathered in one @list doing sub-queries. Calling the
method will then discard some or even all previously found entries when the last sub-query was empty. This can only be solved by "borrowing" code from Net::LDAP::Search and make it work on all
entries found, not only on some.
For now I will disable the call to
as not returning any result is even worse.
- 18 Mar 2014