diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-09-18 10:26:05 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-09-18 10:26:05 +0100 |
commit | 40a28fa2fe21d752a15c11938791d620dd31d17f (patch) | |
tree | c94ceb14caaa5f683d1b74813ba2a999142f376a /app/controllers/request_game_controller.rb | |
parent | 399d638bdf583b4166b8ab87818509a6c5375e78 (diff) | |
parent | 9f9f60106e8e65a5fd7ba5c979e87c03413518f1 (diff) |
Merge branch 'hotfix/0.13.0.3' into wdtk
Diffstat (limited to 'app/controllers/request_game_controller.rb')
-rw-r--r-- | app/controllers/request_game_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/request_game_controller.rb b/app/controllers/request_game_controller.rb index 6eac399ac..298818bc7 100644 --- a/app/controllers/request_game_controller.rb +++ b/app/controllers/request_game_controller.rb @@ -13,8 +13,7 @@ class RequestGameController < ApplicationController @total = InfoRequest.count @done = @total - @missing @percentage = (@done.to_f / @total.to_f * 10000).round / 100.0 - - @requests = InfoRequest.get_random_old_unclassified(3) + @requests = InfoRequest.get_random_old_unclassified(3, :conditions => ["prominence = 'normal'"]) if @missing == 0 flash[:notice] = _('<p>All done! Thank you very much for your help.</p><p>There are <a href="{{helpus_url}}">more things you can do</a> to help {{site_name}}.</p>', |