diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-08-29 13:13:59 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-08-29 13:13:59 +0100 |
commit | b41edc7ae069e6071f7ff7223c1e60cca5e75e8c (patch) | |
tree | f2d7a1d218465247843036ccf8153fd8994afd30 /app/controllers/general_controller.rb | |
parent | eef876ff7ce15f1a15e6760a1f251c98d383cf4e (diff) |
Add tests & fixes for new search/filtering functionality
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r-- | app/controllers/general_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb index 2d0527d3a..40c79cdb8 100644 --- a/app/controllers/general_controller.rb +++ b/app/controllers/general_controller.rb @@ -139,7 +139,6 @@ class GeneralController < ApplicationController @sort_postfix = combined.pop @sortby = @sort_postfix end - if combined.size > 0 && (['bodies', 'requests', 'users', 'all'].include?(combined[-1])) @variety_postfix = combined.pop case @variety_postfix |