Skip to content
Snippets Groups Projects
Commit 125b293d authored by srosse's avatar srosse
Browse files

OO-2026: fix the orphans query for groups

parent aa232d57
No related branches found
No related tags found
No related merge requests found
......@@ -1118,7 +1118,7 @@ public class BusinessGroupDAO {
if(params.isHeadless()) {
where = PersistenceHelper.appendAnd(sb, where);
sb.append(" bgi.baseGroup.key not in (select headMembership.group.key from bgroupmember as headMembership")
.append(" where headMembership.role in ('coach','paticipant')")
.append(" where headMembership.role in ('").append(GroupRoles.coach.name()).append("','").append(GroupRoles.participant.name()).append("')")
.append(" )");
}
}
......
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