diff options
-rw-r--r-- | app/models/time_entry_query.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/time_entry_query.rb b/app/models/time_entry_query.rb index 063074496..0502c4112 100644 --- a/app/models/time_entry_query.rb +++ b/app/models/time_entry_query.rb @@ -107,7 +107,7 @@ class TimeEntryQuery < Query def default_totalable_names [:hours] end - + def default_sort_criteria [['spent_on', 'desc']] end |