Fixed non standard SQL syntax. #6413
Contributed by Juan G git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4091 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
969bf2107b
commit
c4d44af54c
|
@ -846,7 +846,7 @@ class Issue < ActiveRecord::Base
|
||||||
j.id as #{select_field},
|
j.id as #{select_field},
|
||||||
count(i.id) as total
|
count(i.id) as total
|
||||||
from
|
from
|
||||||
#{Issue.table_name} i, #{IssueStatus.table_name} s, #{joins} as j
|
#{Issue.table_name} i, #{IssueStatus.table_name} s, #{joins} j
|
||||||
where
|
where
|
||||||
i.status_id=s.id
|
i.status_id=s.id
|
||||||
and #{where}
|
and #{where}
|
||||||
|
|
Loading…
Reference in New Issue