Sort changesets by id rather than created_at, closes #87
This commit is contained in:
parent
cf87744cd7
commit
ccf7981c48
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ class ChangesetController < ApplicationController
|
|||
changesets = changesets.where("changesets.id <= ?", params[:max_id])
|
||||
end
|
||||
|
||||
@edits = changesets.order("changesets.created_at DESC").limit(20).preload(:user, :changeset_tags)
|
||||
@edits = changesets.order("changesets.id DESC").limit(20).preload(:user, :changeset_tags)
|
||||
|
||||
render :action => :list, :layout => false
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue