aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/FixaMinGata.pm
diff options
context:
space:
mode:
authorJoe Siltberg <git@joesiltberg.se>2019-02-21 15:38:32 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-02-25 10:08:07 +0000
commitf582e71e03d8d661768b8f977107a87e6bd2d2b8 (patch)
tree7154b6c0f05159c64cb84c482f2db3a8a9fab7de /perllib/FixMyStreet/Cobrand/FixaMinGata.pm
parent1fcda0014022042efb17920699638c30156b04d2 (diff)
[FixaMinGata] Adds a cobrand hook (threshold for responsiveness top 5 list)
Fixes #1957
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/FixaMinGata.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/FixaMinGata.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/FixaMinGata.pm b/perllib/FixMyStreet/Cobrand/FixaMinGata.pm
index 9233d479e..d1a1980a7 100644
--- a/perllib/FixMyStreet/Cobrand/FixaMinGata.pm
+++ b/perllib/FixMyStreet/Cobrand/FixaMinGata.pm
@@ -185,4 +185,11 @@ sub always_view_body_contribute_details {
return 1;
}
+# Average responsiveness will only be calculated if a body
+# has at least this many fixed reports.
+# (Used in the Top 5 list in /reports)
+sub body_responsiveness_threshold {
+ return 5;
+}
+
1;