diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-07-13 19:02:48 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-07-13 19:02:48 +0000 |
commit | 793cb1676450a5b3e723a452893c10be1cb0f1bd (patch) | |
tree | 6c3922b5fed76ae41617b5ff9e215f985b0c4f9d /app/controllers | |
parent | abf3fe9c83d8e0e832d4e4d211eafbeb27ea72b1 (diff) | |
download | redmine-793cb1676450a5b3e723a452893c10be1cb0f1bd.tar.gz redmine-793cb1676450a5b3e723a452893c10be1cb0f1bd.zip |
Make time entries groupable (#16843).
git-svn-id: http://svn.redmine.org/redmine/trunk@15649 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/timelog_controller.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb index a63ffae82..30560dcfb 100644 --- a/app/controllers/timelog_controller.rb +++ b/app/controllers/timelog_controller.rb @@ -53,7 +53,6 @@ class TimelogController < ApplicationController @entry_count = scope.count @entry_pages = Paginator.new @entry_count, per_page_option, params['page'] @entries = scope.offset(@entry_pages.offset).limit(@entry_pages.per_page).to_a - @total_hours = scope.sum(:hours).to_f render :layout => !request.xhr? } |