From 132fd8aa4bd16323c5ca5420a364da8d09af5682 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 20 Sep 2019 14:18:42 +0800 Subject: [PATCH] Update archives_controller.rb --- app/controllers/archives_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,