Commit 6fb4a4fb6919604c874e480e47c1bfb944ce68d3

Authored by Rafael Martins
1 parent 9103171c

Fix for display_results of tagged articles

Showing 1 changed file with 0 additions and 1 deletions   Show diff stats
app/controllers/public/search_controller.rb
@@ -165,7 +165,6 @@ class SearchController < PublicController @@ -165,7 +165,6 @@ class SearchController < PublicController
165 @tag = params[:tag] 165 @tag = params[:tag]
166 @tag_cache_key = "tag_#{CGI.escape(@tag.to_s)}_env_#{environment.id.to_s}_page_#{params[:npage]}" 166 @tag_cache_key = "tag_#{CGI.escape(@tag.to_s)}_env_#{environment.id.to_s}_page_#{params[:npage]}"
167 if is_cache_expired?(@tag_cache_key) 167 if is_cache_expired?(@tag_cache_key)
168 - @asset = :articles  
169 @results[@asset] = environment.articles.find_tagged_with(@tag).paginate(paginate_options) 168 @results[@asset] = environment.articles.find_tagged_with(@tag).paginate(paginate_options)
170 end 169 end
171 end 170 end