BigW Consortium Gitlab

Include scope in dashboard filters

parent 16ea2ec1
...@@ -2,6 +2,7 @@ module DashboardHelper ...@@ -2,6 +2,7 @@ module DashboardHelper
def filter_path(entity, options={}) def filter_path(entity, options={})
exist_opts = { exist_opts = {
status: params[:status], status: params[:status],
scope: params[:scope],
project_id: params[:project_id], project_id: params[:project_id],
} }
...@@ -12,7 +13,7 @@ module DashboardHelper ...@@ -12,7 +13,7 @@ module DashboardHelper
path path
end end
def entities_per_project project, entity def entities_per_project(project, entity)
items = project.items_for(entity) items = project.items_for(entity)
items = case params[:status] items = case params[:status]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment