[Freeipa-devel] [PATCH] 761 Sort entries on *-find commands
Martin Kosek
mkosek at redhat.com
Thu Mar 31 12:49:42 UTC 2011
On Wed, 2011-03-30 at 17:14 -0400, Rob Crittenden wrote:
> Sort output on find commands based on the baseldap LDAPSearch class.
>
> A couple tests had to be modified to match the new order.
>
> ticket 794
>
> rob
The patch works fine except the case when entries are being added in
post_callback. Check this search:
ipa permission-find --permissions=write
The result is not sorted. I suggest moving the sort process after the
self.POST_CALLBACKS calls.
What about performance issues? May somebody want to disable the sorting?
(e.g. --nosort option).
Martin
More information about the Freeipa-devel
mailing list