Wrong filters are applied when exporting issues to CSV with blank filter (#23206).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@15608 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2016-07-09 02:08:39 +00:00
parent 4c2fcb0865
commit 4c78b63d58
2 changed files with 13 additions and 0 deletions

View File

@@ -257,6 +257,8 @@ module QueriesHelper
tags << hidden_field_tag("v[#{field}][]", value, :id => nil)
end
end
else
tags << hidden_field_tag("f[]", "", :id => nil)
end
if query.column_names.present?
query.column_names.each do |name|