OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/models/deliverable_query.rb

8 lines
401 B

class DeliverableQuery < Query
@@available_columns = [
QueryColumn.new(:subject, :sortable => "#{Deliverable.table_name}.subject"),
QueryColumn.new(:author),
QueryColumn.new(:updated_on, :sortable => "#{Deliverable.table_name}.updated_on", :default_order => 'desc'),
QueryColumn.new(:created_on, :sortable => "#{Deliverable.table_name}.created_on", :default_order => 'desc'),
]
end