Closed logical-and closed 11 years ago
To fix it:
@statusesByAssigneds = Issue.find_by_sql("select assigned_to_id, (select firstname from users where id = assigned_to_id) as assigned_name, issue_statuses.id, issue_statuses.name, (select COUNT(1) from issues i where i.project_id in (#{stringSqlProjectsSubProjects}) and ((i.assigned_to_id = issues.assigned_to_id and i.assigned_to_id is not null)or(i.assigned_to_id is null and issues.assigned_to_id is null)) and i.status_id = issue_statuses.id) as totalassignedbystatuses from issues, issue_statuses, users where project_id in (#{stringSqlProjectsSubProjects}) and users.id = assigned_to_id and users.type = 'User' group by assigned_to_id, assigned_name, issue_statuses.id, issue_statuses.name order by 2,3;")
But still need a groups. =)
Hi,
I got the same error with above. Is there any way to fix the problem between Redmine-Monitoring-Controlling and Group? I really appreciate your support!
Regards,
I got this error on human resources page:
11 - it is not user, but group. Seems like plugin doesn`t work with groups, properly. Alex, need a fix. =)