File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1556,14 +1556,14 @@ def self.count_and_group_by(options)
1556
1556
1557
1557
where = "#{ Issue . table_name } .#{ select_field } =j.id"
1558
1558
1559
- ActiveRecord ::Base . connection . select_all ( "select s.id as status_id,
1560
- s.is_closed as closed,
1559
+ ActiveRecord ::Base . connection . select_all ( "select s.id as status_id,
1560
+ s.is_closed as closed,
1561
1561
j.id as #{ select_field } ,
1562
- count(#{ Issue . table_name } .id) as total
1563
- from
1562
+ count(#{ Issue . table_name } .id) as total
1563
+ from
1564
1564
#{ Issue . table_name } , #{ Project . table_name } , #{ IssueStatus . table_name } s, #{ joins } j
1565
- where
1566
- #{ Issue . table_name } .status_id=s.id
1565
+ where
1566
+ #{ Issue . table_name } .status_id=s.id
1567
1567
and #{ where }
1568
1568
and #{ Issue . table_name } .project_id=#{ Project . table_name } .id
1569
1569
and #{ visible_condition ( User . current , :project => project ) }
You can’t perform that action at this time.
0 commit comments