Merge branch 'feature/2.4.0/default_sort_issues_by_parent' into 2.4.0-finn-master

pull/41/head
Romano Licker 13 years ago
commit 246dd462b2
  1. 2
      app/controllers/issues_controller.rb

@ -51,7 +51,7 @@ class IssuesController < ApplicationController
def index def index
retrieve_query retrieve_query
sort_init(@query.sort_criteria.empty? ? [['id', 'desc']] : @query.sort_criteria) sort_init(@query.sort_criteria.empty? ? [['parent', 'desc']] : @query.sort_criteria)
sort_update(@query.sortable_columns) sort_update(@query.sortable_columns)
if @query.valid? if @query.valid?

Loading…
Cancel
Save