Filtering doesn't show MR where user is both a code owner and a MR approver (filtering by @approver:userName)

Summary

You cannot find a MR if they are filtered by an approver:@username and a user is both a code owner and an added approver for the MR.

Steps to reproduce

  1. Config a user to be a code owner of the source code.
  2. Make changes in the source code and create new MR.
  3. Add user as an approver to the MR.
  4. Go to MRs page and filter MRs by criteria: approver = user.

What is the current bug behavior?

You cannot find the MR in the list of filtered MRs.

What is the expected correct behavior?

You can find the MR in the list of filtered MRs.

Output of checks

It's a private GitLab instance.

Assignee Loading
Time tracking Loading