Commit 54fc60915b42181fff7b933a663937dd57607ab7

Authored by MoisesMachado
1 parent c95b3f76

ActionItem85: removed the search in the contents of the articles

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@788 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
app/controllers/public/search_controller.rb
1 1 class SearchController < ApplicationController
2 2 def index
3 3 @query = params[:query] || ''
4   - @results = Article.find_tagged_with(@query) + Article.find_by_contents(@query)
  4 + # TODO: uncomment find_by_contents when ferret start working
  5 + @results = Article.find_tagged_with(@query) #+ Article.find_by_contents(@query)
5 6 end
6 7 end
... ...