Re-use issue/MR counts for the pagination system
This changes the issue and MR index pages so the pagination system
re-uses the output of the COUNT(*) query used to calculate the number of
rows per state (opened, closed, etc). This removes the need for an
additional COUNT(*) on both pages.
Showing
lib/gitlab/issuables_count_for_state.rb
0 → 100644
Please
register
or
sign in
to comment