From: Jean-Philippe Lang Date: Wed, 22 Oct 2014 19:34:00 +0000 (+0000) Subject: Fixed an SQL error with SQLServer (#14534). X-Git-Tag: 3.0.0~479 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=116eb8bcc7a52dab8c7ccc58c08d1c45e45a1fb5;p=redmine.git Fixed an SQL error with SQLServer (#14534). git-svn-id: http://svn.redmine.org/redmine/trunk@13490 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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,