summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-07 19:17:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-08-07 19:17:59 +0000
commit3676783052fed523c23247fb8181124e918dd4e1 (patch)
treeffcddde17e6c732a97ab0b8c25b66e2c9e3eed1e /app/views/custom_fields
parent599736aca7b9b5bd47d39fdf72c9fc1127730497 (diff)
downloadredmine-3676783052fed523c23247fb8181124e918dd4e1.tar.gz
redmine-3676783052fed523c23247fb8181124e918dd4e1.zip
Ability to filter issues using project, author, assignee and target version custom fields (#8161).
Custom fields must be marked as "Used as filter" to show up in the filters list. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10164 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/custom_fields')
-rw-r--r--app/views/custom_fields/_form.html.erb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/custom_fields/_form.html.erb b/app/views/custom_fields/_form.html.erb
index dcfcc32ec..beaa78b2f 100644
--- a/app/views/custom_fields/_form.html.erb
+++ b/app/views/custom_fields/_form.html.erb
@@ -55,11 +55,21 @@ when "IssueCustomField" %>
<p><%= f.check_box :is_required %></p>
<p><%= f.check_box :visible %></p>
<p><%= f.check_box :editable %></p>
+ <p><%= f.check_box :is_filter %></p>
<% when "ProjectCustomField" %>
<p><%= f.check_box :is_required %></p>
<p><%= f.check_box :visible %></p>
<p><%= f.check_box :searchable %></p>
+ <p><%= f.check_box :is_filter %></p>
+
+<% when "VersionCustomField" %>
+ <p><%= f.check_box :is_required %></p>
+ <p><%= f.check_box :is_filter %></p>
+
+<% when "GroupCustomField" %>
+ <p><%= f.check_box :is_required %></p>
+ <p><%= f.check_box :is_filter %></p>
<% when "TimeEntryCustomField" %>
<p><%= f.check_box :is_required %></p>