diff options
author | Mark Longair <mhl@pobox.com> | 2013-10-15 13:51:31 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-10-15 13:57:45 +0100 |
commit | 3dbfcac6a590ea25297dcec9d263559bde0a4b89 (patch) | |
tree | 97196d8318dc7db40a471ca642dae28e26e872fb | |
parent | f3ecb5b64229f5e566be3b8df3d7b87e9bb6dd75 (diff) |
Increase the number of public bodies per graph to 10
Now that there are rotated names on the x axis we shouldn't need
to worry about them overlapping, which was the reason for limiting
the number to 8 in the first place.
-rw-r--r-- | app/controllers/public_body_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/public_body_controller.rb b/app/controllers/public_body_controller.rb index f52b77a13..31dcc2c03 100644 --- a/app/controllers/public_body_controller.rb +++ b/app/controllers/public_body_controller.rb @@ -201,7 +201,7 @@ class PublicBodyController < ApplicationController raise ActiveRecord::RecordNotFound.new("Page not enabled") end - per_graph = 8 + per_graph = 10 minimum_requests = AlaveteliConfiguration::minimum_requests_for_statistics # Make sure minimum_requests is > 0 to avoid division-by-zero minimum_requests = [minimum_requests, 1].max |