Browse Source

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

Johannes Nickel 10 years ago
parent
commit
a4ff19aaa8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controllers/users_controller.rb

+ 1 - 1
app/controllers/users_controller.rb

@@ -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