summaryrefslogtreecommitdiff
path: root/app/views/search/results/_blob.html.haml
diff options
context:
space:
mode:
authorMario de la Ossa <mariodelaossa@gmail.com>2019-03-24 21:14:18 -0600
committerMario de la Ossa <mariodelaossa@gmail.com>2019-03-25 15:13:40 -0600
commit0401d00ace8f0efd15131593e89733ebd9add791 (patch)
tree64577563d106eb95be77174a448366b4ff57a20c /app/views/search/results/_blob.html.haml
parent83153e65a5249fc16c07a54b9db906a4301c76cd (diff)
downloadgitlab-ce-0401d00ace8f0efd15131593e89733ebd9add791.tar.gz
Backport of avoid_n_plus_1_es_load_blobs
Diffstat (limited to 'app/views/search/results/_blob.html.haml')
-rw-r--r--app/views/search/results/_blob.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/search/results/_blob.html.haml b/app/views/search/results/_blob.html.haml
index 2a602095845..bdad07f36d1 100644
--- a/app/views/search/results/_blob.html.haml
+++ b/app/views/search/results/_blob.html.haml
@@ -1,4 +1,4 @@
-- project = find_project_for_result_blob(blob)
+- project = find_project_for_result_blob(projects, blob)
- return unless project
- blob = parse_search_result(blob)