summaryrefslogtreecommitdiffstats
path: root/app/models/issue.rb
diff options
context:
space:
mode:
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2010-09-16 19:28:04 +0000
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>2010-09-16 19:28:04 +0000
commitc4d44af54c967d77b1f908de816453aed05a72e0 (patch)
tree1cc7b78f06447bc2f15b53831e8bf50282357ea4 /app/models/issue.rb
parent969bf2107b2ebcdb480cbb56f523ecb72643146d (diff)
downloadredmine-c4d44af54c967d77b1f908de816453aed05a72e0.tar.gz
redmine-c4d44af54c967d77b1f908de816453aed05a72e0.zip
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
Diffstat (limited to 'app/models/issue.rb')
-rw-r--r--app/models/issue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb
index 80db48108..2b7362589 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -846,7 +846,7 @@ class Issue < ActiveRecord::Base
j.id as #{select_field},
count(i.id) as total
from
- #{Issue.table_name} i, #{IssueStatus.table_name} s, #{joins} as j
+ #{Issue.table_name} i, #{IssueStatus.table_name} s, #{joins} j
where
i.status_id=s.id
and #{where}