KEYCLOAK-9056 Change wrong params passed to /groups endpoint in groups and user panel
This commit is contained in:
parent
68873c29b7
commit
4150daa9cb
2 changed files with 4 additions and 4 deletions
|
@ -469,12 +469,12 @@ module.controller('DefaultGroupsCtrl', function($scope, $q, realm, Groups, Group
|
||||||
var refreshAvailableGroups = function (search) {
|
var refreshAvailableGroups = function (search) {
|
||||||
var first = ($scope.currentPage * $scope.pageSize) - $scope.pageSize;
|
var first = ($scope.currentPage * $scope.pageSize) - $scope.pageSize;
|
||||||
var queryParams = {
|
var queryParams = {
|
||||||
realm : realm.id,
|
realm : realm.realm,
|
||||||
first : first,
|
first : first,
|
||||||
max : $scope.pageSize
|
max : $scope.pageSize
|
||||||
};
|
};
|
||||||
var countParams = {
|
var countParams = {
|
||||||
realm : realm.id,
|
realm : realm.realm,
|
||||||
top : 'true'
|
top : 'true'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1026,13 +1026,13 @@ module.controller('UserGroupMembershipCtrl', function($scope, $q, realm, user, U
|
||||||
var refreshAvailableGroups = function (search) {
|
var refreshAvailableGroups = function (search) {
|
||||||
var first = ($scope.currentPage * $scope.pageSize) - $scope.pageSize;
|
var first = ($scope.currentPage * $scope.pageSize) - $scope.pageSize;
|
||||||
var queryParams = {
|
var queryParams = {
|
||||||
realm : realm.id,
|
realm : realm.realm,
|
||||||
first : first,
|
first : first,
|
||||||
max : $scope.pageSize
|
max : $scope.pageSize
|
||||||
};
|
};
|
||||||
|
|
||||||
var countParams = {
|
var countParams = {
|
||||||
realm : realm.id,
|
realm : realm.realm,
|
||||||
top : 'true'
|
top : 'true'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue