Commit 6570843f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix MR count for group scope

parent 0dbb369a
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
= nav_link(path: 'groups#merge_requests') do = nav_link(path: 'groups#merge_requests') do
= link_to merge_requests_group_path(@group) do = link_to merge_requests_group_path(@group) do
Merge Requests Merge Requests
%span.count= current_user.cared_merge_requests.of_group(@group).count %span.count= current_user.cared_merge_requests.opened.of_group(@group).count
= nav_link(path: 'groups#search') do = nav_link(path: 'groups#search') do
= link_to "Search", search_group_path(@group) = link_to "Search", search_group_path(@group)
= nav_link(path: 'groups#people') do = nav_link(path: 'groups#people') do
......
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