Vote #69604
完了List of users for adding to a group may be empty if 100 first users have been added
0%
説明
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
journals
--------------------------------------------------------------------------------
Just type a few letters in the field above the list and the user you want to add will show up.
--------------------------------------------------------------------------------
Can't we add a named scope @User#not_in_group(user_group)@ for correctness ?
(or something like this)
--------------------------------------------------------------------------------
Just done in r5284 before I saw your update :-)
--------------------------------------------------------------------------------
User.not_in_group() actually.
--------------------------------------------------------------------------------
Niiiice =)
--------------------------------------------------------------------------------
thanks for fix
--------------------------------------------------------------------------------