summaryrefslogtreecommitdiffstats
path: root/app/models/changeset.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-10-22 19:34:00 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-10-22 19:34:00 +0000
commit116eb8bcc7a52dab8c7ccc58c08d1c45e45a1fb5 (patch)
tree9c162bf2b646541ceb09676b456a33c7f99ef660 /app/models/changeset.rb
parent9b7d176e4905dd2767a315242b9f74b0d14b9dc2 (diff)
downloadredmine-116eb8bcc7a52dab8c7ccc58c08d1c45e45a1fb5.tar.gz
redmine-116eb8bcc7a52dab8c7ccc58c08d1c45e45a1fb5.zip
Fixed an SQL error with SQLServer (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13490 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/changeset.rb')
-rw-r--r--app/models/changeset.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/changeset.rb b/app/models/changeset.rb
index b12ea6778..d75244166 100644
--- a/app/models/changeset.rb
+++ b/app/models/changeset.rb
@@ -37,7 +37,7 @@ class Changeset < ActiveRecord::Base
acts_as_searchable :columns => 'comments',
:scope => preload(:repository => :project),
:project_key => "#{Repository.table_name}.project_id",
- :date_column => 'committed_on'
+ :date_column => "#{Changeset.table_name}.committed_on"
acts_as_activity_provider :timestamp => "#{table_name}.committed_on",
:author_key => :user_id,