diff options
Diffstat (limited to 'app/models/time_entry_query.rb')
-rw-r--r-- | app/models/time_entry_query.rb | 3 |
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 |