aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-07-30 16:49:23 +0100
committerLouise Crow <louise.crow@gmail.com>2013-07-30 16:49:23 +0100
commit4b7a2726deb1bdca94b39a65d32beb6f9ca90492 (patch)
treec4c23d727e113c196ff8d46ed5c8ac0c62cc5dd2
parentba3531a68bc3ff836ba687ab0d62ca8bf5026405 (diff)
Remove unused line of code
-rw-r--r--app/controllers/general_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb
index 939dd1739..540f67ec9 100644
--- a/app/controllers/general_controller.rb
+++ b/app/controllers/general_controller.rb
@@ -147,7 +147,6 @@ class GeneralController < ApplicationController
@query, _ = make_query_from_params(params)
end
@inputted_sortby = @sortby
- @common_query = get_tags_from_params(params)
if @sortby.nil?
# Parse query, so can work out if it has prefix terms only - if so then it is a
# structured query which should show newest first, rather than a free text search