summaryrefslogtreecommitdiffstats
path: root/app/models/query.rb
diff options
context:
space:
mode:
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