summaryrefslogtreecommitdiffstats
path: root/app/models/query.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-19 11:25:36 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-19 11:25:36 +0000
commit12d05431c20eab7ab18080f27753ca8b8e7753aa (patch)
treeed33ed8c1de8be2da4214849644c0a21fb304cc7 /app/models/query.rb
parent9ac86d4f4e73d1c5ee48a39f9ebd6b3fbc38c558 (diff)
downloadredmine-12d05431c20eab7ab18080f27753ca8b8e7753aa.tar.gz
redmine-12d05431c20eab7ab18080f27753ca8b8e7753aa.zip
Adds a way to filter issues with or without start date (#9607).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7841 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/query.rb')
-rw-r--r--app/models/query.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/query.rb b/app/models/query.rb
index 9eac4b81c..c25b75f2c 100644
--- a/app/models/query.rb
+++ b/app/models/query.rb
@@ -120,8 +120,8 @@ class Query < ActiveRecord::Base
:list_status => [ "o", "=", "!", "c", "*" ],
:list_optional => [ "=", "!", "!*", "*" ],
:list_subprojects => [ "*", "!*", "=" ],
- :date => [ "=", ">=", "<=", "><", "<t+", ">t+", "t+", "t", "w", ">t-", "<t-", "t-" ],
- :date_past => [ "=", ">=", "<=", "><", ">t-", "<t-", "t-", "t", "w" ],
+ :date => [ "=", ">=", "<=", "><", "<t+", ">t+", "t+", "t", "w", ">t-", "<t-", "t-", "!*", "*" ],
+ :date_past => [ "=", ">=", "<=", "><", ">t-", "<t-", "t-", "t", "w", "!*", "*" ],
:string => [ "=", "~", "!", "!~" ],
:text => [ "~", "!~" ],
:integer => [ "=", ">=", "<=", "><", "!*", "*" ],