]> source.dussan.org Git - redmine.git/commitdiff
Fixed an SQL error with SQLServer (#14534).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 22 Oct 2014 19:34:00 +0000 (19:34 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 22 Oct 2014 19:34:00 +0000 (19:34 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13490 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/changeset.rb

index b12ea677892bf85dabc1c248f7d99fbb0a5756f0..d752441668757231c4d21f2d6dfcc10ca8b9cfd6 100644 (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,