summaryrefslogtreecommitdiff
path: root/app/views/shared/issuable/_search_bar.html.haml
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-12-16 19:52:54 +0800
committerClement Ho <ClemMakesApps@gmail.com>2017-01-09 16:01:34 -0600
commitb0d8d742c588baacf0ba08074f23e68498297d10 (patch)
tree40728d4c0e1ace96eb99e700b371b222b9b17b5d /app/views/shared/issuable/_search_bar.html.haml
parent12753def903f265467d2cab8e19deced31daf066 (diff)
downloadgitlab-ce-b0d8d742c588baacf0ba08074f23e68498297d10.tar.gz
Pass the arguments from where we render the partial
Thread: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7345/diffs#note_19707619
Diffstat (limited to 'app/views/shared/issuable/_search_bar.html.haml')
-rw-r--r--app/views/shared/issuable/_search_bar.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/shared/issuable/_search_bar.html.haml b/app/views/shared/issuable/_search_bar.html.haml
index 3449c1f0151..b65d523ddc8 100644
--- a/app/views/shared/issuable/_search_bar.html.haml
+++ b/app/views/shared/issuable/_search_bar.html.haml
@@ -1,3 +1,6 @@
+- type = local_assigns.fetch(:type)
+- finder = local_assigns.fetch(:finder)
+
.issues-filters
.issues-details-filters.row-content-block.second-block.filtered-search-block
= form_tag page_filter_path(without: [:assignee_id, :author_id, :milestone_title, :label_name, :search]), method: :get, class: 'filter-form js-filter-form' do