From 34c0d2e361ac84c1dab0ef497ffce9295b0534b6 Mon Sep 17 00:00:00 2001
From: barthc <mackintosh02@gmail.com>
Date: Fri, 22 Jul 2016 17:42:24 +0100
Subject: [PATCH] fix missing repo_ref param

---
 app/helpers/search_helper.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb
index fcb2703e837..a2bba139c17 100644
--- a/app/helpers/search_helper.rb
+++ b/app/helpers/search_helper.rb
@@ -112,7 +112,8 @@ module SearchHelper
       search: params[:search],
       project_id: params[:project_id],
       group_id: params[:group_id],
-      scope: params[:scope]
+      scope: params[:scope],
+      repository_ref: params[:repository_ref]
     }
 
     options = exist_opts.merge(options)
-- 
GitLab