Rework the 'issues not found' notice slightly.
[rails.git] / app / controllers / issues_controller.rb
index 67c0d5b6ef8fe0d670a0a512c06ba95231ca67cc..534cc2fde31e0f45b4430f88d1c13f527087a09e 100644 (file)
@@ -45,8 +45,6 @@ class IssuesController < ApplicationController
       @issues = @issues.where(:updated_by => last_updated_by)
     end
 
-    notice = t("issues.index.search.issues_not_found") if @issues.first.nil?
-
     if params[:last_reported_by] && params[:last_reported_by][0].present?
       last_reported_by = params[:last_reported_by][0].to_s == "nil" ? nil : params[:last_reported_by][0].to_i
       @issues = @issues.where(:updated_by => last_reported_by)