Wheel clicking to open search tabs in new window takes you to the same window

Summary

When I perform a search and then "wheel click" on one of the tabs to open the tab in a new page I end up on the same tab with a # appended to the URL.

Steps to reproduce

  1. Perform a search
  2. Wheel click on one of the other tabs
  3. A new tab will be opened in your browser but it will load the same page you were already on

Example Project

What is the current bug behavior?

What is the expected correct behavior?

Load the tab you clicked on.

Relevant logs and/or screenshots

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
`sudo gitlab-rake gitlab:env:info`)

(For installations from source run and paste the output of:
`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)

Results of GitLab application Check

Expand for output related to the GitLab application check

(For installations with omnibus-gitlab package run and paste the output of: sudo gitlab-rake gitlab:check SANITIZE=true)

(For installations from source run and paste the output of: sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)

(we will only investigate if the tests are passing)

Possible fixes