Feature #40829 » 40829-v2.patch
app/models/project_query.rb | ||
---|---|---|
37 | 37 |
QueryColumn.new(:parent_id, :sortable => "#{Project.table_name}.lft ASC", :default_order => 'desc', :caption => :field_parent), |
38 | 38 |
QueryColumn.new(:is_public, :sortable => "#{Project.table_name}.is_public", :groupable => true), |
39 | 39 |
QueryColumn.new(:created_on, :sortable => "#{Project.table_name}.created_on", :default_order => 'desc'), |
40 |
QueryColumn.new(:updated_on, :sortable => "#{Project.table_name}.updated_on", :default_order => 'desc'), |
|
40 | 41 |
QueryColumn.new(:last_activity_date) |
41 | 42 |
] |
42 | 43 | |
... | ... | |
78 | 79 |
:values => [[l(:general_text_yes), "1"], [l(:general_text_no), "0"]] |
79 | 80 |
) |
80 | 81 |
add_available_filter "created_on", :type => :date_past |
82 |
add_available_filter "updated_on", :type => :date_past |
|
81 | 83 |
add_custom_fields_filters(project_custom_fields) |
82 | 84 |
end |
83 | 85 |