Index: lib/redmine.rb =================================================================== --- lib/redmine.rb (revision 12160) +++ lib/redmine.rb (working copy) @@ -274,6 +274,7 @@ search.register :changesets search.register :wiki_pages search.register :messages + search.register :time_entries search.register :projects end Index: app/models/time_entry.rb =================================================================== --- app/models/time_entry.rb (revision 12160) +++ app/models/time_entry.rb (working copy) @@ -27,6 +27,7 @@ attr_protected :project_id, :user_id, :tyear, :tmonth, :tweek acts_as_customizable + acts_as_searchable :columns => 'comments' acts_as_event :title => Proc.new {|o| "#{l_hours(o.hours)} (#{(o.issue || o.project).event_title})"}, :url => Proc.new {|o| {:controller => 'timelog', :action => 'index', :project_id => o.project, :issue_id => o.issue}}, :author => :user, Index: app/controllers/timelog_controller.rb =================================================================== --- app/controllers/timelog_controller.rb (revision 12160) +++ app/controllers/timelog_controller.rb (working copy) @@ -17,6 +17,7 @@ class TimelogController < ApplicationController menu_item :issues + default_search_scope :time_entries before_filter :find_project_for_new_time_entry, :only => [:create] before_filter :find_time_entry, :only => [:show, :edit, :update]