summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/issuables_count_for_state_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Re-use issue/MR counts for the pagination systemmr-index-page-performanceYorick Peterse2017-09-051-0/+37
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.