diff options
Diffstat (limited to 'app/controllers/timelog_controller.rb')
-rw-r--r-- | app/controllers/timelog_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb index dab2e0731..30d6cc28a 100644 --- a/app/controllers/timelog_controller.rb +++ b/app/controllers/timelog_controller.rb @@ -39,7 +39,7 @@ class TimelogController < ApplicationController def index sort_init 'spent_on', 'desc' - sort_update 'spent_on' => 'spent_on', + sort_update 'spent_on' => ['spent_on', "#{TimeEntry.table_name}.created_on"], 'user' => 'user_id', 'activity' => 'activity_id', 'project' => "#{Project.table_name}.name", |