Fully hooked the Deliverable columns into the filters and Queries

* The Deliverable subject can now be filtered on the issues list
* The Deliverable subject can now be displayed on the issues lists with
  as a default column or part of a saved query
* The issues can be sorted by the deliverable

  #1148
This commit is contained in:
Eric Davis
2008-05-21 11:51:28 -07:00
parent 600750a3c1
commit b429ee23a8
4 changed files with 53 additions and 1 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ module QueryPatch
# Same as typing in the class
base.class_eval do
unloadable # Send unloadable so it will not be unloaded in development
base.add_available_column(QueryColumn.new(:deliverable, :sortable => "#{Deliverable.table_name}.name"))
base.add_available_column(QueryColumn.new(:deliverable_subject, :sortable => "#{Deliverable.table_name}.subject"))
alias_method :redmine_available_filters, :available_filters
alias_method :available_filters, :budget_available_filters