- create a group mygroup1
- create a group mysubgroup1
- create a user myuser1
- add subgroup1 as a member of mygroup1
- add myuser1 as a member of mygroup1
- Try the following curl command:
Only the users are returned.
- this is due to the following part of code:
Once the group restriction is set, the search type is thus ignored.
Expected behavior: to match the usual behavior, if no searchType is specified both users and groups/subgroups should be returned.