Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18764
e93f8b46-1217-0410-a6f0-
8f06a7374b81
:type => :list,
:values => [[l(:general_text_yes), "1"], [l(:general_text_no), "0"]]
add_available_filter "created_on", :type => :date_past
+ add_custom_fields_filters(project_custom_fields)
end
def available_columns
end
end
+ # Returns a scope of project custom fields that are available as columns or filters
+ def project_custom_fields
+ ProjectCustomField.all
+ end
+
# Returns a scope of project statuses that are available as columns or filters
def project_statuses_values
[