summaryrefslogtreecommitdiff
path: root/app/controllers/dashboard_controller.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-12 21:49:03 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-12 21:49:03 +0300
commit3b660be6ee79d75ab3e287411a0cdb01bf63c722 (patch)
tree5163e1b3a265c3cbdb11edc9308c41ae48f11113 /app/controllers/dashboard_controller.rb
parent7406494abc786a2d6aefe4097bf785bd1a20dc5d (diff)
downloadgitlab-ce-3b660be6ee79d75ab3e287411a0cdb01bf63c722.tar.gz
REmove duplicating search on dashboard issues/mr
Diffstat (limited to 'app/controllers/dashboard_controller.rb')
-rw-r--r--app/controllers/dashboard_controller.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb
index 4b9bfcf843b..f6620b25818 100644
--- a/app/controllers/dashboard_controller.rb
+++ b/app/controllers/dashboard_controller.rb
@@ -35,8 +35,6 @@ class DashboardController < ApplicationController
current_user.authorized_projects
end.sorted_by_activity
- @projects = @projects.search(params[:search]) if params[:search].present?
-
@labels = current_user.authorized_projects.tags_on(:labels)
@projects = @projects.tagged_with(params[:label]) if params[:label].present?