]> source.dussan.org Git - redmine.git/commitdiff
Show replies as well when choosing to display messages in the activity.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 9 Mar 2008 12:15:27 +0000 (12:15 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 9 Mar 2008 12:15:27 +0000 (12:15 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1217 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/projects_controller.rb

index af5960399a437b77d50064a2179da80eec885dda..7e4cc81f3fb592dc53c23b4a20b107142967bfe2 100644 (file)
@@ -278,7 +278,7 @@ class ProjectsController < ApplicationController
     if @scope.include?('messages')
       @events += Message.find(:all, 
                               :include => [:board, :author], 
-                              :conditions => ["#{Board.table_name}.project_id=? AND #{Message.table_name}.parent_id IS NULL AND #{Message.table_name}.created_on BETWEEN ? AND ?", @project.id, @date_from, @date_to])
+                              :conditions => ["#{Board.table_name}.project_id=? AND #{Message.table_name}.created_on BETWEEN ? AND ?", @project.id, @date_from, @date_to])
     end
     
     @events_by_day = @events.group_by(&:event_date)