Include scope in dashboard filters
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
16ea2ec189
commit
f6a4e5636d
1 changed files with 2 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue