fixed: removed duplicate shown users in user list (user management) because seach is by role / group and the same users are returned multiple times.

This commit is contained in:
Johannes Nickel 2014-10-09 21:54:02 +02:00
parent 3d7eb018b0
commit a4ff19aaa8

View file

@ -376,7 +376,7 @@ curl http://localhost/api/v1/users/2.json -v -u #{login}:#{password} -H "Content
# return result
render :json => {
:assets => assets,
:user_ids => user_ids,
:user_ids => user_ids.uniq,
}
end