Update archives_controller.rb

This commit is contained in:
chiu 2019-09-20 14:18:42 +08:00
parent a9666ff3f8
commit 132fd8aa4b
1 changed files with 1 additions and 1 deletions

View File

@ -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,