b11492c2e3
Milestoneish#issues_visible_to_user caches only the ActiveRecord relation, not the actual result. Introduce Milestoneish#total_issues_count that relies on the cached method Milestoneish#count_issues_by_state to reduce the number of queries. |
||
---|---|---|
.. | ||
_form_dates.html.haml | ||
_issuable.html.haml | ||
_issuables.html.haml | ||
_issues_tab.html.haml | ||
_labels_tab.html.haml | ||
_merge_requests_tab.haml | ||
_milestone.html.haml | ||
_participants_tab.html.haml | ||
_summary.html.haml | ||
_tabs.html.haml | ||
_top.html.haml |