##// END OF EJS Templates
Don't show project column by default when inside a project....
Jean-Philippe Lang -
r15660:af1182c8ba64
parent child
Show More
@@ -122,7 +122,11 class TimeEntryQuery < Query
122 122 end
123 123
124 124 def default_columns_names
125 @default_columns_names ||= [:project, :spent_on, :user, :activity, :issue, :comments, :hours]
125 @default_columns_names ||= begin
126 default_columns = [:spent_on, :user, :activity, :issue, :comments, :hours]
127
128 project.present? ? default_columns : [:project] | default_columns
129 end
126 130 end
127 131
128 132 def default_totalable_names
General Comments 0
You need to be logged in to leave comments. Login now