@@ -276,6 +276,14 class Query < ActiveRecord::Base | |||
|
276 | 276 | IssueCustomField.find(:all) |
|
277 | 277 | ).collect {|cf| QueryCustomFieldColumn.new(cf) } |
|
278 | 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 | 288 | # Returns an array of columns that can be used to group the results |
|
281 | 289 | def groupable_columns |
General Comments 0
You need to be logged in to leave comments.
Login now