summaryrefslogtreecommitdiffstats
path: root/app/views/imports/new.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-12-20 08:07:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-12-20 08:07:57 +0000
commit13da124b16ff58f83e812e8b57f4039b4681a3d6 (patch)
treefa9b0fd654a48dc7cca7da430bf84098638bc10f /app/views/imports/new.html.erb
parent9c6a2c48e0e5bafbe8158269f6c4969d89441e89 (diff)
downloadredmine-13da124b16ff58f83e812e8b57f4039b4681a3d6.tar.gz
redmine-13da124b16ff58f83e812e8b57f4039b4681a3d6.zip
CSV import does not keep the project it was clicked from (#21766).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19381 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/imports/new.html.erb')
-rw-r--r--app/views/imports/new.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/imports/new.html.erb b/app/views/imports/new.html.erb
index 41b27d6c9..e7ca82428 100644
--- a/app/views/imports/new.html.erb
+++ b/app/views/imports/new.html.erb
@@ -2,6 +2,7 @@
<%= form_tag(imports_path, :multipart => true) do %>
<%= hidden_field_tag 'type', @import.type %>
+ <%= hidden_field_tag 'project_id', params[:project_id] %>
<fieldset class="box">
<legend><%= l(:label_select_file_to_import) %> (CSV)</legend>
<p>