Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2749

Java API for searching for users that returns cross-directory results, correctly sorted

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.3.8, 2.4.3, 2.5
    • 2.4
    • User Management
    • None

    Description

      At the moment CrowdService.search() with an entity type of User will query the directories in order and stop once it has enough users to satisfy the maxReturn param. It should return users from all directories properly globally ordered.

      To illustrate, if I had:

      DIR 0: ADAM, BEN, ZACHARY
      DIR 1: CARL, DAVE

      and called CrowdService.search() with a maxReturn of 3 and an offset of 0, I would receive:

      [ADAM, BEN, ZACHARY]

      For my usecase I need to get:

      [ADAM, BEN, CARL]

      Attachments

        Issue Links

          Activity

            People

              tim@atlassian.com TimP
              tim@atlassian.com TimP
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: