Preserve search term on branch change in commits view

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

When we have a search term and we change the branch, the search term is not preserved

non-404-branch-change-commit

Search term Branch change no search term
image Change branch -> image

Should we investigate if the search term should be preserved or maybe this is the correct behaviour 🤔

Edited by 🤖 GitLab Bot 🤖