Commit 6cbb827ece647cd95b924bb3729aae8163204602

Authored by Victor Costa
1 parent d8a07bd4

Fix api article filter

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
lib/noosfero/api/helpers.rb
... ... @@ -97,6 +97,7 @@
97 97 if params[:categories_ids]
98 98 articles = articles.joins(:categories).where('category_id in (?)', params[:categories_ids])
99 99 end
  100 + articles
100 101 end
101 102  
102 103 def find_task(tasks, id)
... ...