Commit 6fb4a4fb6919604c874e480e47c1bfb944ce68d3
1 parent
9103171c
Exists in
master
and in
28 other branches
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 | 165 | @tag = params[:tag] |
| 166 | 166 | @tag_cache_key = "tag_#{CGI.escape(@tag.to_s)}_env_#{environment.id.to_s}_page_#{params[:npage]}" |
| 167 | 167 | if is_cache_expired?(@tag_cache_key) |
| 168 | - @asset = :articles | |
| 169 | 168 | @results[@asset] = environment.articles.find_tagged_with(@tag).paginate(paginate_options) |
| 170 | 169 | end |
| 171 | 170 | end | ... | ... |