Skip to content

Repair user sorting with relative url mounts

What does this MR do and why?

Bugfixes user sorting on issues when gitlab is installed with a relative url.

Before, user sorting failed because the url https:localhost/-/autocomplete/users.json was searched for when the real path was https:localhost/gitlab/-/autocomplete/users.json. This change includes the relative url install location to the searched path.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Follow the instructions here to set up gitlab with a relative url.

Navigate to the Issues

An assignee is searched by default so the query in question will happen on page load.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports