]> source.dussan.org Git - redmine.git/commitdiff
Makes closed_on available as column and filter on the issue list (#824).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 16 Feb 2013 09:39:52 +0000 (09:39 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 16 Feb 2013 09:39:52 +0000 (09:39 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11403 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/issue_query.rb
config/locales/en.yml
config/locales/fr.yml

index 1959c3ea3527e73084016ca9325655b15a749879..3ca31db9ae1e29df75bff1d6e1a1cf3421c97c0c 100644 (file)
@@ -36,6 +36,7 @@ class IssueQuery < Query
     QueryColumn.new(:estimated_hours, :sortable => "#{Issue.table_name}.estimated_hours"),
     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(:closed_on, :sortable => "#{Issue.table_name}.closed_on", :default_order => 'desc'),
     QueryColumn.new(:relations, :caption => :label_related_issues),
     QueryColumn.new(:description, :inline => false)
   ]
@@ -145,6 +146,7 @@ class IssueQuery < Query
     add_available_filter "subject", :type => :text
     add_available_filter "created_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 "due_date", :type => :date
     add_available_filter "estimated_hours", :type => :float
index 95793fc4b227234961e7c1273497acf219eccf68..39583b583d583576ad8445761476ffbc1cb61de6 100644 (file)
@@ -229,6 +229,7 @@ en:
   field_author: Author
   field_created_on: Created
   field_updated_on: Updated
+  field_closed_on: Closed
   field_field_format: Format
   field_is_for_all: For all projects
   field_possible_values: Possible values
index cf7280fec51b4d48d1d284bd09adcdcfe2435a7a..d9d79938bb0c4cfd90a05f637490f38f0e84883c 100644 (file)
@@ -238,6 +238,7 @@ fr:
   field_author: Auteur
   field_created_on: "Créé "
   field_updated_on: "Mis-à-jour "
+  field_closed_on: Fermé
   field_field_format: Format
   field_is_for_all: Pour tous les projets
   field_possible_values: Valeurs possibles