diff --git a/app/controllers/archives_controller.rb b/app/controllers/archives_controller.rb index 782005b..3d8c31c 100644 --- a/app/controllers/archives_controller.rb +++ b/app/controllers/archives_controller.rb @@ -262,7 +262,7 @@ F cats = files_by_cateogry.keys.collect do |cat| if categories.first == "all" categories = OrbitHelper.widget_module_app.categories puts categories - categories_sort = get_sorted_cat_with_filter(categories,'id') + categories_sort = get_sorted_cat_with_filter(categories,'orm') @categories = categories_sort.collect do |cat| { "title" => cat.title,