Skip to content
Snippets Groups Projects
Commit 44643c1a authored by felmer's avatar felmer
Browse files

SSDM-5723: fixing bugs in AuthorizationGroupFetchOptions.js revealed by js-test

SVN: 38866
parent 7f5a2532
No related branches found
No related tags found
No related merge requests found
define([ "require", "stjs", "as/dto/common/fetchoptions/FetchOptions", "as/dto/person/fetchoptions/PersonFetchOptions",
define([ "require", "stjs", "as/dto/common/fetchoptions/FetchOptions", "as/dto/person/fetchoptions/PersonFetchOptions",
"as/dto/roleassignment/fetchoptions/RoleAssignmentFetchOptions",
"as/dto/authorizationgroup/fetchoptions/AuthorizationGroupSortOptions"], function(require, stjs, FetchOptions) {
var AuthorizationGroupFetchOptions = function() {
};
......@@ -38,7 +39,7 @@ define([ "require", "stjs", "as/dto/common/fetchoptions/FetchOptions", "as/dto/p
};
prototype.withRoleAssignments = function() {
if (this.roleAssignments == null) {
var RoleAssignmentsFetchOptions = require("as/dto/roleassignments/fetchoptions/RoleAssignmentsFetchOptions");
var RoleAssignmentsFetchOptions = require("as/dto/roleassignment/fetchoptions/RoleAssignmentFetchOptions");
this.roleAssignments = new RoleAssignmentsFetchOptions();
}
return this.roleAssignments;
......@@ -62,7 +63,7 @@ define([ "require", "stjs", "as/dto/common/fetchoptions/FetchOptions", "as/dto/p
}, {
registrator : "PersonFetchOptions",
useres : "PersonFetchOptions",
roleAssignments : "RoleAssignmentsFetchOptions",
roleAssignments : "RoleAssignmentFetchOptions",
sort : "AuthorizationGroupSortOptions"
});
return AuthorizationGroupFetchOptions;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment