Skip to content

Commit

Permalink
Merge pull request #569 from sadilchamishka/fix-group-list-with-count
Browse files Browse the repository at this point in the history
Fix group list with count issue
  • Loading branch information
sadilchamishka authored Aug 26, 2024
2 parents 49f4097 + a9f831f commit 66b8b46
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2962,7 +2962,7 @@ public GroupsGetResponse listGroupsWithGET(Node rootNode, Integer startIndex, In
startIndex = handleStartIndexEqualsNULL(startIndex);
if (sortBy != null || sortOrder != null) {
throw new NotImplementedException("Sorting is not supported");
} else if (startIndex != 1 || count != null) {
} else if (startIndex != 1 && count != null) {
throw new NotImplementedException("Pagination is not supported");
} else if (rootNode != null) {
return filterGroups(rootNode, startIndex, count, sortBy, sortOrder, domainName, requiredAttributes);
Expand Down

0 comments on commit 66b8b46

Please sign in to comment.