diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-07-26 09:05:26 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-07-26 09:05:26 +0000 |
commit | 6ddea3396b6b477591efc2372c2f5bceb9154e5a (patch) | |
tree | 1588955443c8c1dacbec29835d641f3f63277cac /app/models/query.rb | |
parent | 9f92554319144effbab13b688b07d15cdafea89a (diff) | |
download | redmine-6ddea3396b6b477591efc2372c2f5bceb9154e5a.tar.gz redmine-6ddea3396b6b477591efc2372c2f5bceb9154e5a.zip |
Adds estimated hours to issue filters (#1678).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1696 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/query.rb')
-rw-r--r-- | app/models/query.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/models/query.rb b/app/models/query.rb index 27ab882c6..0ce9a6a21 100644 --- a/app/models/query.rb +++ b/app/models/query.rb @@ -88,7 +88,7 @@ class Query < ActiveRecord::Base :date_past => [ ">t-", "<t-", "t-", "t", "w" ], :string => [ "=", "~", "!", "!~" ], :text => [ "~", "!~" ], - :integer => [ "=", ">=", "<=" ] } + :integer => [ "=", ">=", "<=", "!*", "*" ] } cattr_reader :operators_by_filter_type @@ -152,7 +152,8 @@ class Query < ActiveRecord::Base "updated_on" => { :type => :date_past, :order => 10 }, "start_date" => { :type => :date, :order => 11 }, "due_date" => { :type => :date, :order => 12 }, - "done_ratio" => { :type => :integer, :order => 13 }} + "estimated_hours" => { :type => :integer, :order => 13 }, + "done_ratio" => { :type => :integer, :order => 14 }} user_values = [] user_values << ["<< #{l(:label_me)} >>", "me"] if User.current.logged? |