diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-13 10:56:44 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-06-13 10:56:44 +0000 |
commit | 98f2b30ac5871b684a6690be6449283926f3ef2a (patch) | |
tree | 017d0b458c1c70bd21ba2dea64d8d04186ec85fc /app/models/query.rb | |
parent | 3077ed8d3a79fc613f31ecd47418fcec291cfd18 (diff) | |
download | redmine-98f2b30ac5871b684a6690be6449283926f3ef2a.tar.gz redmine-98f2b30ac5871b684a6690be6449283926f3ef2a.zip |
Adds issue filters on parent/subtasks (#6118).
git-svn-id: http://svn.redmine.org/redmine/trunk@14304 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/query.rb')
-rw-r--r-- | app/models/query.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/query.rb b/app/models/query.rb index 0e6064fc6..cac43a4e4 100644 --- a/app/models/query.rb +++ b/app/models/query.rb @@ -216,7 +216,8 @@ class Query < ActiveRecord::Base :text => [ "~", "!~", "!*", "*" ], :integer => [ "=", ">=", "<=", "><", "!*", "*" ], :float => [ "=", ">=", "<=", "><", "!*", "*" ], - :relation => ["=", "=p", "=!p", "!p", "!*", "*"] + :relation => ["=", "=p", "=!p", "!p", "!*", "*"], + :tree => ["=", "~", "!*", "*"] } class_attribute :available_columns |