diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-04-08 07:37:37 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-04-08 07:37:37 +0000 |
commit | 2af7d986d9958428fd13639203fb7dc185d232d2 (patch) | |
tree | 89635e4332983cf78e5693526e2568dd851d6c77 /app/models/issue_query.rb | |
parent | f3821dcbdaa3ee9562c91ee2cf271204b9599d94 (diff) | |
download | redmine-2af7d986d9958428fd13639203fb7dc185d232d2.tar.gz redmine-2af7d986d9958428fd13639203fb7dc185d232d2.zip |
Merged r16504 (#25478).
git-svn-id: http://svn.redmine.org/redmine/branches/3.3-stable@16521 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue_query.rb')
-rw-r--r-- | app/models/issue_query.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_query.rb b/app/models/issue_query.rb index 42d6df40f..417b98b2a 100644 --- a/app/models/issue_query.rb +++ b/app/models/issue_query.rb @@ -550,7 +550,7 @@ class IssueQuery < Query if relation_options[:sym] == field && !options[:reverse] sqls = [sql, sql_for_relations(field, operator, value, :reverse => true)] - sql = sqls.join(["!", "!*", "!p"].include?(operator) ? " AND " : " OR ") + sql = sqls.join(["!", "!*", "!p", '!o'].include?(operator) ? " AND " : " OR ") end "(#{sql})" end |