summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-09 02:08:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-09 02:08:39 +0000
commit4c78b63d58b7f7fd71b34d88c0aea6dc1fdf76ad (patch)
tree12f030e01c222eeae2059c7ffb8860ab67ffad62 /app
parent4c2fcb08654b201371bd21a065f2368e9cad7547 (diff)
downloadredmine-4c78b63d58b7f7fd71b34d88c0aea6dc1fdf76ad.tar.gz
redmine-4c78b63d58b7f7fd71b34d88c0aea6dc1fdf76ad.zip
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
Diffstat (limited to 'app')
-rw-r--r--app/helpers/queries_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb
index fd92af17a..0bea000db 100644
--- a/app/helpers/queries_helper.rb
+++ b/app/helpers/queries_helper.rb
@@ -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|