Makes closed_on available as column and filter on the issue list (#824).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11403 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2013-02-16 09:39:52 +00:00
parent a45c0dc550
commit 98cd140a19
3 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,7 @@ class IssueQuery < Query
QueryColumn.new(:estimated_hours, :sortable => "#{Issue.table_name}.estimated_hours"), QueryColumn.new(:estimated_hours, :sortable => "#{Issue.table_name}.estimated_hours"),
QueryColumn.new(:done_ratio, :sortable => "#{Issue.table_name}.done_ratio", :groupable => true), QueryColumn.new(:done_ratio, :sortable => "#{Issue.table_name}.done_ratio", :groupable => true),
QueryColumn.new(:created_on, :sortable => "#{Issue.table_name}.created_on", :default_order => 'desc'), QueryColumn.new(:created_on, :sortable => "#{Issue.table_name}.created_on", :default_order => 'desc'),
QueryColumn.new(:closed_on, :sortable => "#{Issue.table_name}.closed_on", :default_order => 'desc'),
QueryColumn.new(:relations, :caption => :label_related_issues), QueryColumn.new(:relations, :caption => :label_related_issues),
QueryColumn.new(:description, :inline => false) QueryColumn.new(:description, :inline => false)
] ]
@ -145,6 +146,7 @@ class IssueQuery < Query
add_available_filter "subject", :type => :text add_available_filter "subject", :type => :text
add_available_filter "created_on", :type => :date_past add_available_filter "created_on", :type => :date_past
add_available_filter "updated_on", :type => :date_past add_available_filter "updated_on", :type => :date_past
add_available_filter "closed_on", :type => :date_past
add_available_filter "start_date", :type => :date add_available_filter "start_date", :type => :date
add_available_filter "due_date", :type => :date add_available_filter "due_date", :type => :date
add_available_filter "estimated_hours", :type => :float add_available_filter "estimated_hours", :type => :float

View File

@ -229,6 +229,7 @@ en:
field_author: Author field_author: Author
field_created_on: Created field_created_on: Created
field_updated_on: Updated field_updated_on: Updated
field_closed_on: Closed
field_field_format: Format field_field_format: Format
field_is_for_all: For all projects field_is_for_all: For all projects
field_possible_values: Possible values field_possible_values: Possible values

View File

@ -238,6 +238,7 @@ fr:
field_author: Auteur field_author: Auteur
field_created_on: "Créé " field_created_on: "Créé "
field_updated_on: "Mis-à-jour " field_updated_on: "Mis-à-jour "
field_closed_on: Fermé
field_field_format: Format field_field_format: Format
field_is_for_all: Pour tous les projets field_is_for_all: Pour tous les projets
field_possible_values: Valeurs possibles field_possible_values: Valeurs possibles