Commit f6a4e5636d2ed6d99006c36b59da04ec86dfebab
1 parent
16ea2ec1
Exists in
spb-stable
and in
3 other branches
Include scope in dashboard filters
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
app/helpers/dashboard_helper.rb
... | ... | @@ -2,6 +2,7 @@ module DashboardHelper |
2 | 2 | def filter_path(entity, options={}) |
3 | 3 | exist_opts = { |
4 | 4 | status: params[:status], |
5 | + scope: params[:scope], | |
5 | 6 | project_id: params[:project_id], |
6 | 7 | } |
7 | 8 | |
... | ... | @@ -12,7 +13,7 @@ module DashboardHelper |
12 | 13 | path |
13 | 14 | end |
14 | 15 | |
15 | - def entities_per_project project, entity | |
16 | + def entities_per_project(project, entity) | |
16 | 17 | items = project.items_for(entity) |
17 | 18 | |
18 | 19 | items = case params[:status] | ... | ... |