aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-07-06 16:36:07 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-07-06 16:36:07 +0100
commitc605e5130db58601e2c16b6c2c2ef29b83974dcc (patch)
tree9eb68080b2df69d2a8cc2d9d8eb5bd673f33696e /perllib/FixMyStreet/App/Controller
parent967c99a4c5d54d5b8dff0d502115511350c7a87c (diff)
Factor out hard-coded number into cobrand function.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r--perllib/FixMyStreet/App/Controller/Reports.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm
index 9fb72121e..9a7bb6192 100644
--- a/perllib/FixMyStreet/App/Controller/Reports.pm
+++ b/perllib/FixMyStreet/App/Controller/Reports.pm
@@ -349,7 +349,7 @@ sub load_and_group_problems : Private {
{ photo => 'photo is not null' },
],
order_by => { -desc => 'lastupdate' },
- rows => 100,
+ rows => $c->cobrand->reports_per_page,
}
)->page( $page );
$c->stash->{pager} = $problems->pager;