diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-01-13 13:28:23 +0000 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-01-13 13:28:23 +0000 |
commit | 07068037e9b0ac8de80a9eae36a323689c83139d (patch) | |
tree | fc910d2304471a54ff1f08ec5ba58fcc6c56e4b6 /app/controllers/application_controller.rb | |
parent | 08dd56bac73ce83fcb12e4776b32c4e0ce75545a (diff) |
Fix bug introduced in cec2c545e0a10e0641c4ee67839c88d872b394b8, related to issue #343.
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index f3406ee8a..2633aca4d 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -435,7 +435,7 @@ class ApplicationController < ActionController::Base params[:latest_status] = [params[:latest_status]] end if params[:latest_status].include?("recent") || params[:latest_status].include?("all") - query += " variety:sent OR variety:followup_sent OR variety:response OR variety:comment" + query += " (variety:sent OR variety:followup_sent OR variety:response OR variety:comment)" end if params[:latest_status].include? "successful" statuses << ['latest_status:successful', 'latest_status:partially_successful'] |