From 116eb8bcc7a52dab8c7ccc58c08d1c45e45a1fb5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 22 Oct 2014 19:34:00 +0000 Subject: [PATCH] Fixed an SQL error with SQLServer (#14534). git-svn-id: http://svn.redmine.org/redmine/trunk@13490 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/changeset.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.39.5