Actions
Defect #8029
closedList of users for adding to a group may be empty if 100 first users have been added
Start date:
2011-03-31
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Hello,
Why I cannot add more than 100 users to group? Because line 27 at /groups/_users.html.rb:
<% users = User.active.find(:all, :limit => 100) - @group.users %>
It is wrong. After 100 users added to group, the variable users is forever blank. Even when I have hundreds users.
Thanks for fix
Petr
Updated by Etienne Massip over 13 years ago
- Target version set to Candidate for next minor release
Updated by Jean-Philippe Lang over 13 years ago
Just type a few letters in the field above the list and the user you want to add will show up.
Updated by Etienne Massip over 13 years ago
Can't we add a named scope User#not_in_group(user_group)
for correctness ?
(or something like this)
Updated by Jean-Philippe Lang over 13 years ago
- Subject changed from /groups/_users.html.erb to List of users for adding to a group may be empty if 100 first users have been added
- Status changed from New to Closed
- Target version changed from Candidate for next minor release to 1.2.0
- Resolution set to Fixed
Just done in r5284 before I saw your update :-)
Actions