Skip to content

Count of epics in tabs on epics list page does not reflect updated number when filters are applied

Summary

After clicking on filter issues on the epic page, the number of issues tab is not updated according to the filter criteria, It needs to be refreshed again to match with the filter results.

Steps to reproduce

  1. Enter epic page - https://gitlab.com/groups/gitlab-org/-/epics?state=opened&page=1&sort=start_date_desc 截屏2022-05-09_15.16.34
  2. Select any filter criteria 截屏2022-05-09_15.27.02
  3. Click enter to display the results page 截屏2022-05-09_15.19.13
  4. Issues number does not match the result, and the numbers are correct after reload page. 截屏2022-05-09_15.23.34

Example Project

https://gitlab.com/groups/gitlab-org/-/epics?state=opened&page=1&sort=start_date_desc

What is the current bug behavior?

issues number does not match the result

What is the expected correct behavior?

Number of issues matching results page

Relevant logs and/or screenshots

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes

Edited by Kushal Pandya