diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-09-18 10:36:05 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-09-18 10:36:05 +0100 |
commit | 46bdfbd5fc3c29968f139d0aac3064204b7e6058 (patch) | |
tree | 1cc6c0d263083d434c490ed218cf7927af81ffc6 /app/controllers/request_game_controller.rb | |
parent | caf1fd8817e03a64535b7648a014017c45fe40fb (diff) | |
parent | 9f9f60106e8e65a5fd7ba5c979e87c03413518f1 (diff) |
Merge branch 'hotfix/0.13.0.3' into rails-3-develop
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>', |