Ticket #3 (closed enhancement: fixed)

Opened 3 years ago

Last modified 19 months ago

Add support for server-side ordering

Reported by: deveiant Owned by: deveiant
Priority: major Milestone: Arborous Rebellion Release
Component: Library Version: 1.0.1
Keywords: server-side sorting ordering control rfc2891 Cc:

Description

Ruby-LDAP has sortattr and sortfunc arguments for LDAP::Conn#search* methods, but they sort results after they've returned to the client, not on the server. This means that using a limit is only useful if you want objects in whatever order the server returns them to you, which is almost never the way a human expects them to be sorted.

There is, however, a  Server Side Sorting control which can be used to sort results before they're returned.

We'll likely implement this in terms of the controls mechanism described by #2.

Change History

comment:1 Changed 2 years ago by deveiant

  • Status changed from new to accepted
  • Version changed from prerelease to 1.0.1

comment:2 Changed 19 months ago by deveiant

  • Status changed from accepted to closed
  • Resolution set to fixed

Committed in r244.

Note: See TracTickets for help on using tickets.