@@ -199,17 +199,13 class IssueQuery < Query | |||||
199 | :type => :list_optional, :values => role_values |
|
199 | :type => :list_optional, :values => role_values | |
200 | ) unless role_values.empty? |
|
200 | ) unless role_values.empty? | |
201 |
|
201 | |||
202 | if versions.any? |
|
|||
203 |
|
|
202 | add_available_filter "fixed_version_id", | |
204 |
|
|
203 | :type => :list_optional, | |
205 |
|
|
204 | :values => versions.sort.collect{|s| ["#{s.project.name} - #{s.name}", s.id.to_s] } | |
206 | end |
|
|||
207 |
|
205 | |||
208 | if categories.any? |
|
|||
209 |
|
|
206 | add_available_filter "category_id", | |
210 |
|
|
207 | :type => :list_optional, | |
211 |
|
|
208 | :values => categories.collect{|s| [s.name, s.id.to_s] } | |
212 | end |
|
|||
213 |
|
209 | |||
214 | add_available_filter "subject", :type => :text |
|
210 | add_available_filter "subject", :type => :text | |
215 | add_available_filter "description", :type => :text |
|
211 | add_available_filter "description", :type => :text |
General Comments 0
You need to be logged in to leave comments.
Login now