diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2022-06-28 06:49:22 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2022-06-28 06:49:22 +0000 |
commit | 9aa34eb651e2941aeae69cc3acf6e1c1b909729e (patch) | |
tree | 2f29f9f3cc11726eb32297ab0d04d74a47a6e1fb /app | |
parent | 94ec29e9df148eae9178300650b31b65948688ba (diff) | |
download | redmine-9aa34eb651e2941aeae69cc3acf6e1c1b909729e.tar.gz redmine-9aa34eb651e2941aeae69cc3acf6e1c1b909729e.zip |
Merged r21686 and r21687 to 5.0-stable (#36940).
git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@21690 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/query.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/query.rb b/app/models/query.rb index 4ef74a25e..1a614f175 100644 --- a/app/models/query.rb +++ b/app/models/query.rb @@ -1176,7 +1176,7 @@ class Query < ActiveRecord::Base end filter = available_filters[field] - target_class = filter[:through].format.target_class + target_class = filter[:through].format.target_class.base_class "#{queried_table_name}.id #{not_in} IN (" + "SELECT customized_id FROM #{CustomValue.table_name}" + |