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

  1. Create 2 epics
  2. Create 4 labels
  3. Create an issue board with 4 columns from the labels, make sure one of columns is out of view
  4. Add 11 or more issues to the column/label out of view, add them to an epic
  5. 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)
  6. Select 'Group by: Epic'
  7. 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.

Related to #344641 (closed)

Merge request reports

Loading