diff --git a/app/controllers/archives_controller.rb b/app/controllers/archives_controller.rb index 5505ade..a123347 100644 --- a/app/controllers/archives_controller.rb +++ b/app/controllers/archives_controller.rb @@ -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|