Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-25 11:08:56 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-12-25 11:08:56 +0400
commitf6a4e5636d2ed6d99006c36b59da04ec86dfebab (patch)
tree5b6564f9fcf72583be9be467265b659fbb03ea2d /app/helpers/dashboard_helper.rb
parent16ea2ec1894da1077ccd7b0e39a50b3cedd1fe2a (diff)
Include scope in dashboard filters
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/helpers/dashboard_helper.rb')
-rw-r--r--app/helpers/dashboard_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/dashboard_helper.rb b/app/helpers/dashboard_helper.rb
index 35c7bcbd2cf..cbc8c336bea 100644
--- a/app/helpers/dashboard_helper.rb
+++ b/app/helpers/dashboard_helper.rb
@@ -2,6 +2,7 @@ module DashboardHelper
def filter_path(entity, options={})
exist_opts = {
status: params[:status],
+ scope: params[:scope],
project_id: params[:project_id],
}
@@ -12,7 +13,7 @@ module DashboardHelper
path
end
- def entities_per_project project, entity
+ def entities_per_project(project, entity)
items = project.items_for(entity)
items = case params[:status]