-
- Downloads
Cache total issue / MR counts for project by user type
This runs a slightly slower query to get the issue and MR counts in the navigation, but caches by user type (can see all / none confidential issues) for two minutes.
Showing
- app/finders/issues_finder.rb 13 additions, 13 deletionsapp/finders/issues_finder.rb
- app/helpers/issuables_helper.rb 19 additions, 10 deletionsapp/helpers/issuables_helper.rb
- app/views/layouts/nav/_project.html.haml 2 additions, 2 deletionsapp/views/layouts/nav/_project.html.haml
- spec/helpers/issuables_helper_spec.rb 43 additions, 6 deletionsspec/helpers/issuables_helper_spec.rb
Please register or sign in to comment