X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/be40536440b8677323bcf30bc2b869e36f907dd9..82a6bb0d5afb3013a1a91a84e129ebd5a0e7dc5f:/app/controllers/trace_controller.rb diff --git a/app/controllers/trace_controller.rb b/app/controllers/trace_controller.rb index b7c9ccd70..f3fa81fd8 100644 --- a/app/controllers/trace_controller.rb +++ b/app/controllers/trace_controller.rb @@ -63,7 +63,7 @@ class TraceController < ApplicationController @page_size = 20 @traces = @traces.visible - @traces = @traces.order("timestamp DESC") + @traces = @traces.order(:id => :desc) @traces = @traces.offset((@page - 1) * @page_size) @traces = @traces.limit(@page_size) @traces = @traces.includes(:user, :tags)