Commit b0d8d742 authored by Lin Jen-Shin's avatar Lin Jen-Shin Committed by Clement Ho

Pass the arguments from where we render the partial

Thread:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7345/diffs#note_19707619
parent 12753def
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
title: "New Issue", title: "New Issue",
id: "new_issue_link" do id: "new_issue_link" do
New Issue New Issue
= render 'shared/issuable/search_bar', type: :issues = render 'shared/issuable/search_bar', type: :issues, finder: issues_finder
.issues-holder .issues-holder
= render 'issues' = render 'issues'
......
- type = local_assigns.fetch(:type)
- finder = local_assigns.fetch(:finder)
.issues-filters .issues-filters
.issues-details-filters.row-content-block.second-block.filtered-search-block .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 = form_tag page_filter_path(without: [:assignee_id, :author_id, :milestone_title, :label_name, :search]), method: :get, class: 'filter-form js-filter-form' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment