Commit f6a4e563 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Include scope in dashboard filters

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 16ea2ec1
......@@ -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]
......
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