Include scope in dashboard filters

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2013-12-25 09:08:56 +02:00
parent 16ea2ec189
commit f6a4e5636d
No known key found for this signature in database
GPG key ID: 627C5F589F467F17

View file

@ -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]