Skip to content

missing populateHierarchy in GroupsResource.search() #237

Description

@wskr00

Describe the bug

i need to set populateHierarchy to false but i cant

@GET
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
List<GroupRepresentation> groups(@QueryParam("search") String search,
@QueryParam("exact") Boolean exact,
@QueryParam("first") Integer first,
@QueryParam("max") Integer max,
@QueryParam("briefRepresentation") @DefaultValue("true") boolean briefRepresentation,
@QueryParam("subGroupsCount") @DefaultValue("true") Boolean subGroupsCount);

GroupsResource.query() has populateHierarchy, but doesnt have search

@GET
@Produces(MediaType.APPLICATION_JSON)
List<GroupRepresentation> query(@QueryParam("q") String searchQuery,
@QueryParam("populateHierarchy") boolean populateHierarchy, @QueryParam("first") Integer first,
@QueryParam("max") Integer max, @QueryParam("briefRepresentation") boolean briefRepresentation);

Version

26.0.12

Expected behavior

use search and populateHierarchy together

Actual behavior

use groupsResource.search() with search but without populateHierarchy, or use groupsResource.query() with populateHierarchy but without search

How to Reproduce?

No response

Anything else?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions