diff --git a/app/helpers/admin/items_helper.rb b/app/helpers/admin/items_helper.rb index 948df59c..6069fd69 100644 --- a/app/helpers/admin/items_helper.rb +++ b/app/helpers/admin/items_helper.rb @@ -32,7 +32,7 @@ module Admin::ItemsHelper if !parent.children.entries.blank? ret = '' ret << "
    " - children.each do |child| + children.reverse.each do |child| ret << render_node_and_children(child) end ret << '
' diff --git a/app/views/admin/items/_site_map_left_bar.html.erb b/app/views/admin/items/_site_map_left_bar.html.erb index 6307e5aa..282f3ea2 100644 --- a/app/views/admin/items/_site_map_left_bar.html.erb +++ b/app/views/admin/items/_site_map_left_bar.html.erb @@ -3,4 +3,4 @@ \ No newline at end of file +