diff --git a/vendor/built_in_modules/archive/app/views/panel/archive/back_end/archive_files/_form.html.erb b/vendor/built_in_modules/archive/app/views/panel/archive/back_end/archive_files/_form.html.erb
index 7eba5303..c93c446c 100644
--- a/vendor/built_in_modules/archive/app/views/panel/archive/back_end/archive_files/_form.html.erb
+++ b/vendor/built_in_modules/archive/app/views/panel/archive/back_end/archive_files/_form.html.erb
@@ -98,7 +98,7 @@
- <% @archive_file.archive_file_multiples.desc("id asc").each_with_index do |archive_file_multiple, i| %>
+ <% @archive_file.archive_file_multiples.asc(:_id).each_with_index do |archive_file_multiple, i| %>
<%= f.fields_for :archive_file_multiples, archive_file_multiple do |f| %>
<%= render :partial => 'form_file', :object => archive_file_multiple, :locals => {:f => f, :i => i} %>
<% end %>
diff --git a/vendor/built_in_modules/archive/app/views/panel/archive/front_end/archive_files/index.html.erb b/vendor/built_in_modules/archive/app/views/panel/archive/front_end/archive_files/index.html.erb
index 5d910be4..5f1250de 100644
--- a/vendor/built_in_modules/archive/app/views/panel/archive/front_end/archive_files/index.html.erb
+++ b/vendor/built_in_modules/archive/app/views/panel/archive/front_end/archive_files/index.html.erb
@@ -20,7 +20,7 @@
<% if !post.archive_file_multiples.blank? %>
- <% post.archive_file_multiples.desc("id asc").each do | afile | %>
+ <% post.archive_file_multiples.asc(:_id).each do | afile | %>
<% if afile.file.file and afile.choose_lang_display(I18n.locale.to_s) %>
-
<%= link_to afile.file_title, afile.file.url, {:target => '_blank', :title => afile.file_title, :class => "o-archives-file"} %>
diff --git a/vendor/built_in_modules/archive/app/views/panel/archive/widget/archive_files/_index.html.erb b/vendor/built_in_modules/archive/app/views/panel/archive/widget/archive_files/_index.html.erb
index feb1162d..1cc1ddfb 100644
--- a/vendor/built_in_modules/archive/app/views/panel/archive/widget/archive_files/_index.html.erb
+++ b/vendor/built_in_modules/archive/app/views/panel/archive/widget/archive_files/_index.html.erb
@@ -22,7 +22,7 @@
<% if !post.archive_file_multiples.blank? %>
- <% post.archive_file_multiples.desc("id asc").each do | afile | %>
+ <% post.archive_file_multiples.asc(:_id).each do | afile | %>
<% if afile.file.file and afile.choose_lang_display(I18n.locale.to_s) %>
-
<%= link_to afile.file_title, afile.file.url, {:target => '_blank', :title => afile.file_title, :class => "o-archives-file"} %>
@@ -72,7 +72,7 @@
<% if !post.archive_file_multiples.blank? %>
- <% post.archive_file_multiples.desc("_id asc").each do | afile | %>
+ <% post.archive_file_multiples.asc(:_id).each do | afile | %>
<% if afile.file.file and afile.choose_lang_display(I18n.locale.to_s) %>
-
<%= link_to afile.file_title, afile.file.url, {:target => '_blank', :title => afile.file_title, :class => "o-archives-file"} %>