Project

General

Profile

Actions

Defect #9549

closed

Only 100 users are displayed when adding new project members

Added by Michael Wu over 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
Project settings
Target version:
Start date:
2011-11-11
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When there's more than 100 users in redmine, it is possible that some users won't be listed in the "New member" box in project settings for adding new members.

I think the bug is introduced in:
redmine-1.2.1/app/views/projects/settings/_members.rhtml

On line 54:

<% principals = Principal.active.find(:all, :limit => 100, :order => 'type, login, lastname ASC') - @project.principals %>

:limit=>100 is hardcoded. So users that are ordered outside the first 100 entries will never be shown.

When the first 100 users in the sorted order are added to the project, the "New member" box will always show empty results.


Related issues

Has duplicate Redmine - Defect #9589: Adding Members to a project doesn't show all members availableClosed2011-11-16

Actions
Has duplicate Redmine - Feature #6347: All members not being displayed in Projects -> SettingsClosed2010-09-10

Actions
Has duplicate Redmine - Defect #8547: Add member list not showing all usersClosed2011-06-06

Actions
Actions

Also available in: Atom PDF