Skip to content

Search loses branch

Summary

(Summarize the bug encountered concisely)

Steps to reproduce

  • Choose a branch which you want to search in;
  • Go to "Search or jump to..." search field on top, type search word and press enter button;
  • When you go to search page you can see that URL bar of the browser contains "repository_ref" parameter;
  • If you press "Search" button the "repository_ref" parameter has been lost and your search performs on default branch: but this is wrong!

What is the current bug behavior?

After searching the search engine loses "repository_ref" parameter.

What is the expected correct behavior?

Search operation must not lose the reference to the branch which I want to search in.