Error 500 when filtering MRs with Approved-By = None or Any (version 15.4)

Replace this template with your information

On self-managed free version of Gitlab 15.4 I found that filtering on Approved-By = None or Any stopped working.

I used UI to create this simple filter on Merge Requests screen:

After pressing Enter, it ends up with 500 error page

  • What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?

I tested that other filters like Approved-By with specific user work OK.

This is probably related to filtering for “None” and “Any”

Thanks for taking the time to be thorough in your request, it really helps! :blush:

We found the problem happens only when “Merged Date” is used as sort by field.