diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-09 13:32:14 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-09 13:32:14 +0000 |
commit | b0bb1baeaac665eea6188f05af627697a3e90eaa (patch) | |
tree | 58a0971507a4f28336fd690e855e953921fdebcb /app/views/issues | |
parent | 1454a711caf68cd687886ea9b8d44b3a027e6cbc (diff) | |
download | redmine-b0bb1baeaac665eea6188f05af627697a3e90eaa.tar.gz redmine-b0bb1baeaac665eea6188f05af627697a3e90eaa.zip |
Trac importer: user can now choose between sqlite and sqlite3 adapter for Trac database.
Trac importer: issues and wiki modules are enabled by default for the imported project.
Fixed: 404 error when trying to save a custom query under certain circumstance.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@894 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues')
-rw-r--r-- | app/views/issues/index.rhtml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/issues/index.rhtml b/app/views/issues/index.rhtml index 81c59ca55..fa77cb78c 100644 --- a/app/views/issues/index.rhtml +++ b/app/views/issues/index.rhtml @@ -2,7 +2,8 @@ <h2><%=l(:label_issue_plural)%></h2> <% set_html_title l(:label_issue_plural) %> - <% form_tag({ :controller => 'queries', :action => 'new', :project_id => @project }, :id => 'query_form') do %> + <% form_tag({ :controller => 'queries', :action => 'new' }, :id => 'query_form') do %> + <%= hidden_field_tag('project_id', @project.id) if @project %> <%= render :partial => 'queries/filters', :locals => {:query => @query} %> <div class="contextual"> <%= link_to_remote l(:button_apply), |