Skip to content

Commit

Permalink
Improve tenant qualified URL feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thisara-Welmilla committed Jul 8, 2024
1 parent 987416e commit 74f70aa
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1903,13 +1903,12 @@ private int calculateOffsetForMultiAttributeFilter(Node node, int offset, String
int initialOffset = 1;

// Checking the number of matches till the original offset.
int skippedUserCount;
boolean paginationRequest = false;
Set<org.wso2.carbon.user.core.common.User> skippedUsers =
getFilteredUsersFromMultiAttributeFiltering(node, initialOffset, offset, sortBy, sortOrder, domainName,
paginationRequest);

skippedUserCount = skippedUsers.size();
int skippedUserCount = skippedUsers.size();

// Calculate the new offset and return
return offset - skippedUserCount;
Expand Down

0 comments on commit 74f70aa

Please sign in to comment.