Update archives_controller.rb

This commit is contained in:
chiu 2019-09-20 14:26:04 +08:00
parent dbfbac58de
commit 24f3bdc94e
1 changed files with 1 additions and 0 deletions

View File

@ -335,6 +335,7 @@ F cats = files_by_cateogry.keys.collect do |cat|
if cat_type=='id'
categories_temp = ModuleApp.where(:key => "archive").first.categories
categories = categories_temp.where(_id: categories)
puts categories.inspect
end
categories_sort = []
all_categories_id.each do |cat_id|