@@ -276,6 +276,14 class Query < ActiveRecord::Base | |||||
276 | IssueCustomField.find(:all) |
|
276 | IssueCustomField.find(:all) | |
277 | ).collect {|cf| QueryCustomFieldColumn.new(cf) } |
|
277 | ).collect {|cf| QueryCustomFieldColumn.new(cf) } | |
278 | end |
|
278 | end | |
|
279 | ||||
|
280 | def self.available_columns=(v) | |||
|
281 | self.available_columns = (v) | |||
|
282 | end | |||
|
283 | ||||
|
284 | def self.add_available_column(column) | |||
|
285 | self.available_columns << (column) if column.is_a?(QueryColumn) | |||
|
286 | end | |||
279 |
|
287 | |||
280 | # Returns an array of columns that can be used to group the results |
|
288 | # Returns an array of columns that can be used to group the results | |
281 | def groupable_columns |
|
289 | def groupable_columns |
General Comments 0
You need to be logged in to leave comments.
Login now