@@ -45,7 +45,8 class TimelogController < ApplicationController | |||||
45 | sort_init(@query.sort_criteria.empty? ? [['spent_on', 'desc']] : @query.sort_criteria) |
|
45 | sort_init(@query.sort_criteria.empty? ? [['spent_on', 'desc']] : @query.sort_criteria) | |
46 | sort_update(@query.sortable_columns) |
|
46 | sort_update(@query.sortable_columns) | |
47 | scope = time_entry_scope(:order => sort_clause). |
|
47 | scope = time_entry_scope(:order => sort_clause). | |
48 | preload(:issue => [:project, :tracker, :status, :assigned_to, :priority]) |
|
48 | preload(:issue => [:project, :tracker, :status, :assigned_to, :priority]). | |
|
49 | preload(:project, :user) | |||
49 |
|
50 | |||
50 | respond_to do |format| |
|
51 | respond_to do |format| | |
51 | format.html { |
|
52 | format.html { |
General Comments 0
You need to be logged in to leave comments.
Login now