"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/models/project_query.rb" between
redmine-4.1.0.tar.gz and redmine-4.1.1.tar.gz

About: Redmine is a flexible project management and bug-tracking web application (using the Ruby on Rails framework). It supports also project wikis and forums, documents management, and multiple version control systems.

project_query.rb  (redmine-4.1.0):project_query.rb  (redmine-4.1.1)
skipping to change at line 74 skipping to change at line 74
:values => [[l(:general_text_yes), "1"], [l(:general_text_no), "0"]] :values => [[l(:general_text_yes), "1"], [l(:general_text_no), "0"]]
) )
add_available_filter "created_on", :type => :date_past add_available_filter "created_on", :type => :date_past
add_custom_fields_filters(project_custom_fields) add_custom_fields_filters(project_custom_fields)
end end
def available_columns def available_columns
return @available_columns if @available_columns return @available_columns if @available_columns
@available_columns = self.class.available_columns.dup @available_columns = self.class.available_columns.dup
@available_columns += ProjectCustomField.visible. @available_columns += ProjectCustomField.visible.
map {|cf| QueryAssociationCustomFieldColumn.new(:pro ject, cf) } map {|cf| QueryCustomFieldColumn.new(cf) }
@available_columns @available_columns
end end
def available_display_types def available_display_types
['board', 'list'] ['board', 'list']
end end
def default_columns_names def default_columns_names
@default_columns_names = Setting.project_list_defaults.symbolize_keys[:colum n_names].map(&:to_sym) @default_columns_names = Setting.project_list_defaults.symbolize_keys[:colum n_names].map(&:to_sym)
end end
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)