summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-10-15 11:42:32 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-10-15 11:42:32 +0000
commitf793340077d0acb9fb8724122f8b49160e78a69c (patch)
tree749fc3430e1680e23948d538e137bdb73fb8174d /app
parente3fafdb6aa737ab83760698671e9c91271da27d3 (diff)
downloadredmine-f793340077d0acb9fb8724122f8b49160e78a69c.tar.gz
redmine-f793340077d0acb9fb8724122f8b49160e78a69c.zip
Merged r16997 (#26667).
git-svn-id: http://svn.redmine.org/redmine/branches/3.4-stable@16998 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/models/time_entry_query.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/time_entry_query.rb b/app/models/time_entry_query.rb
index 6591973f6..f432fdbcc 100644
--- a/app/models/time_entry_query.rb
+++ b/app/models/time_entry_query.rb
@@ -35,8 +35,7 @@ class TimeEntryQuery < Query
def initialize(attributes=nil, *args)
super attributes
- self.filters ||= {}
- add_filter('spent_on', '*') unless filters.present?
+ self.filters ||= { 'spent_on' => {:operator => "*", :values => []} }
end
def initialize_available_filters