Merge pull request #2907 from techAPJ/patch-1
include all groups in user csv export
This commit is contained in:
commit
1962563c31
|
@ -44,7 +44,7 @@ module Jobs
|
||||||
|
|
||||||
def get_group_names(user)
|
def get_group_names(user)
|
||||||
group_names = []
|
group_names = []
|
||||||
groups = user.custom_groups
|
groups = user.groups
|
||||||
groups.each do |group|
|
groups.each do |group|
|
||||||
group_names.push(group.name)
|
group_names.push(group.name)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue