summaryrefslogtreecommitdiffstats
path: root/app/models/time_entry_query.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-10-15 11:53:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-10-15 11:53:49 +0000
commitcb73fc58f274624b79bacc73f63fcfcfe606e86d (patch)
tree33e1494522239d970bbb90e9a6a28c7e9e3336af /app/models/time_entry_query.rb
parent0a3e85b92d175ab57f08725e40cb8fa00dae44ce (diff)
downloadredmine-cb73fc58f274624b79bacc73f63fcfcfe606e86d.tar.gz
redmine-cb73fc58f274624b79bacc73f63fcfcfe606e86d.zip
Fix filter values for fixed version id (#26667).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16999 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/time_entry_query.rb')
-rw-r--r--app/models/time_entry_query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/time_entry_query.rb b/app/models/time_entry_query.rb
index f146a34da..1635b1b15 100644
--- a/app/models/time_entry_query.rb
+++ b/app/models/time_entry_query.rb
@@ -64,7 +64,7 @@ class TimeEntryQuery < Query
add_available_filter("issue.fixed_version_id",
:type => :list,
:name => l("label_attribute_of_issue", :name => l(:field_fixed_version)),
- :values => lambda { fixed_version_values }) if project
+ :values => lambda { fixed_version_values })
add_available_filter("user_id",
:type => :list_optional, :values => lambda { author_values }