summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-05-05 21:33:21 -0500
committerEric Eastwood <contact@ericeastwood.com>2017-05-15 12:52:31 -0500
commitcae2274fad39ae0933114cfcde1313e1f1ec4209 (patch)
treeec0dd7a18252a056375e7b9e63e48bc4e0ee6be0 /app/views
parent1ccf101eef7db401317838a453795fa1c28ec036 (diff)
downloadgitlab-ce-cae2274fad39ae0933114cfcde1313e1f1ec4209.tar.gz
Scope recent searches to project
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/31902
Diffstat (limited to 'app/views')
-rw-r--r--app/views/shared/issuable/_search_bar.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_search_bar.html.haml b/app/views/shared/issuable/_search_bar.html.haml
index f7b87171573..411d08bd8f8 100644
--- a/app/views/shared/issuable/_search_bar.html.haml
+++ b/app/views/shared/issuable/_search_bar.html.haml
@@ -19,7 +19,7 @@
dropdown_class: "filtered-search-history-dropdown",
content_class: "filtered-search-history-dropdown-content",
title: "Recent searches" }) do
- .js-filtered-search-history-dropdown
+ .js-filtered-search-history-dropdown{ data: { project_full_path: @project.full_path } }
.filtered-search-box-input-container
.scroll-container
%ul.tokens-container.list-unstyled