Changed default sort order for cost reports (refs #14261)

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@507 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
hjust 15 years ago
parent 34b2303789
commit 3b8c142d63
  1. 2
      app/controllers/cost_reports_controller.rb

@ -10,7 +10,7 @@ class CostReportsController < ApplicationController
include SortHelper
def index
sort_init(@query.sort_criteria.empty? ? [['issue_id', 'desc']] : @query.sort_criteria)
sort_init(@query.sort_criteria.empty? ? [['spent_on', 'desc']] : @query.sort_criteria)
sortable_columns = {
"issue__issue_id" => "issue_id",
"entry__spent_on" => "spent_on",

Loading…
Cancel
Save