We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c36378 commit 359d396Copy full SHA for 359d396
app/services/forest_liana/schema_adapter.rb
@@ -8,7 +8,7 @@ def perform
8
add_columns
9
add_associations
10
11
- collection.fields.sort_by! { |k| k[:field].to_s }
+ collection.fields.sort_by!.with_index { |k, idx| [k[:field].to_s, idx] }
12
13
# NOTICE: Add ActsAsTaggable fields
14
if @model.try(:taggable?) && @model.respond_to?(:acts_as_taggable) &&
0 commit comments