Feature #337 » redmine-private_issues.v.0.1.fix.patch
projects_controller.rb 2009-01-12 22:47:11.000000000 +0300 | ||
---|---|---|
100 | 100 |
:conditions => ["(#{issue_cond}) AND #{IssueStatus.table_name}.is_closed=?", false]) |
101 | 101 |
@private_issues_by_tracker = Issue.count(:group => :tracker, |
102 | 102 |
:include => [:project, :status, :tracker], |
103 |
:conditions => ["(#{cond}) AND #{IssueStatus.table_name}.is_closed=?", false], |
|
104 |
:conditions => ["#{Issue.table_name}.private=?",true]) |
|
103 |
:conditions => ["(#{cond}) AND #{IssueStatus.table_name}.is_closed=? AND #{Issue.table_name}.private=?", false, true]) |
|
105 | 104 |
@total_issues_by_tracker = Issue.count(:group => :tracker, |
106 | 105 |
:include => [:project, :status, :tracker], |
107 | 106 |
:conditions => cond) |