Fix bug not all issues showing in Swimlanes
What does this MR do and why?
Fetch issues for all epic lanes on mount Swimlanes.
This bug was caused by assuming that if some issues were already available for an epic, they would all be, which is not true. When a list has more then 10 issues, not all of them are loaded on classic view of boards, causing some issues to be missing when switching to Swimlanes view.
Screenshots or screen recordings
| Before | After |
|---|---|
| Test___Boards___Gitlab_Org___GitLab__1_ | Test___Boards___Gitlab_Org___GitLab |
How to set up and validate locally
- Create 2 epics
- Create 4 labels
- Create an issue board with 4 columns from the labels, make sure one of columns is out of view
- Add 11 or more issues to the column/label out of view, add them to an epic
- Go to the issue board (the column out of view will load 10 issues, if you would scroll to the column the remaining issues would get loaded)
- Select 'Group by: Epic'
- All issues are showing in epics
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #344641 (closed)