Skip to content

Fix for broken tag/branch switcher

Nataliia Radina requested to merge 369446-branch-switcher-fix into master

What does this MR do and why?

Fixes branch switcher when url contains page parameter

Screenshots or screen recordings

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

How to set up and validate locally

  1. Visit any > 2 blame page or just append ?page=1 to any blame page url
  2. Select any branch from switch branch/tag to see that the error message "VERSION?page=1" did not exist on "some-branch-you-selected" is shown on top and that blame stops. (well it could be that it is really doesn't exist, so make sure to pick something available in both branches)

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 #369446 (closed)

Edited by Nataliia Radina

Merge request reports

Loading