aboutsummaryrefslogtreecommitdiffstats
path: root/notes/cobranding.txt
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-12-02 17:33:48 +0000
committerMatthew Somerville <matthew@mysociety.org>2015-12-15 17:02:11 +0000
commit92dfeac83378cd49fbb59591685e5bf849d317e6 (patch)
treef87175f6539728e319dc5bd027b1b94fd7eaa26b /notes/cobranding.txt
parent64d24b8627879fc68f9f883d6e24a9c7cb72449f (diff)
Fix cobrand restriction of My/Nearby.
5c79337 simplified a bit too far, as after then a particular cobrand could in Nearby and My only filter reports to a particular body, not any other criteria. To fix this, introduce more generic functions in the default cobrand to allow more flexibility. Make sure a few tests delete their bodies fully so that new tests pass when run as part of the suite. Fixes #1289.
Diffstat (limited to 'notes/cobranding.txt')
-rw-r--r--notes/cobranding.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/notes/cobranding.txt b/notes/cobranding.txt
index a62747397..68068fd23 100644
--- a/notes/cobranding.txt
+++ b/notes/cobranding.txt
@@ -10,7 +10,7 @@ NB: this is moderately specific to producing cobrands for UK councils
1: copy an exiting perllib/FixMyStreet/Cobrand/ file to perllib/FixMyStreet/Cobrand/ExampleCom.pm
* Change package name at top of file
* Change following functions accordingly:
- body_restriction
+ problems_restriction/updates_restriction
enter_postcode_text
area_check
base_url