From ad3fefe304a27fcb0279f3c43d7cad2be70382c0 Mon Sep 17 00:00:00 2001 From: Pietro Giorgianni Date: Thu, 16 Feb 2012 12:37:52 +0100 Subject: [PATCH] Export contents preserving manual order. --- lib/locomotive/export.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/locomotive/export.rb b/lib/locomotive/export.rb index 78aab45f..40744004 100644 --- a/lib/locomotive/export.rb +++ b/lib/locomotive/export.rb @@ -277,7 +277,7 @@ module Locomotive highlighted_field_name = content_type.highlighted_field_name - content_type.contents.each do |content| + content_type.ordered_contents.each do |content| hash = {} content.custom_fields.each do |field|