summaryrefslogtreecommitdiffstats
path: root/app/models/query.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-06-13 10:56:44 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-06-13 10:56:44 +0000
commit98f2b30ac5871b684a6690be6449283926f3ef2a (patch)
tree017d0b458c1c70bd21ba2dea64d8d04186ec85fc /app/models/query.rb
parent3077ed8d3a79fc613f31ecd47418fcec291cfd18 (diff)
downloadredmine-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.rb3
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