Commit 2944ada6f29bb68f1835b957828711280265b3e2

Authored by AntonioTerceiro
1 parent 815d92a5

ActionItem466: marking unavoidable problem


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2071 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
app/models/category_finder.rb
... ... @@ -51,6 +51,7 @@ class CategoryFinder
51 51 def options_for_find(klass, options={})
52 52 if defined? options[:product_category]
53 53 prod_cat = options.delete(:product_category)
  54 + # FIXME this is SLOOOOW
54 55 prod_cat_ids = prod_cat.map_traversal(&:id) if prod_cat
55 56 end
56 57  
... ...