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
- Enter epic page - https://gitlab.com/groups/gitlab-org/-/epics?state=opened&page=1&sort=start_date_desc
- Select any filter criteria
- Click enter to display the results page
- Issues number does not match the result, and the numbers are correct after reload page.
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