Update archives_controller.rb

This commit is contained in:
chiu 2019-09-20 14:24:28 +08:00
parent 185b16d7fe
commit dbfbac58de
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,