Fixed an SQL error with SQLServer (#14534).

git-svn-id: http://svn.redmine.org/redmine/trunk@13490 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2014-10-22 19:34:00 +00:00
parent 9b7d176e49
commit 116eb8bcc7

View File

@@ -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,