diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-05-16 12:05:23 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2014-05-16 14:07:53 +0100 |
commit | bf062b508081521201cf315f483b7aee3a6a0c7b (patch) | |
tree | 01e4284d97b31c6d7fdb9a3a0c7be50d08bb4d26 /conf | |
parent | 825a60275017e7cbf1bab54d350e9019102ef348 (diff) |
Add MAPIT_GENERATION variable, to pin whitelist.
Otherwise, when MapIt Global is updated, the 'point' lookup, as it only
returns the current generation by default, might no longer return the
areas present in the whitelist.
Diffstat (limited to 'conf')
-rw-r--r-- | conf/general.yml-example | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/general.yml-example b/conf/general.yml-example index f5fb89b64..0704fdb52 100644 --- a/conf/general.yml-example +++ b/conf/general.yml-example @@ -74,9 +74,12 @@ MAPIT_TYPES: [ 'ZZZ' ] # If you are using global MapIt, you might want to restrict FixMyStreet usage # to only one or more areas, rather than all O04, for example. Provide MapIt -# IDs here in a list that FixMyStreet should recognise. +# IDs here in a list that FixMyStreet should recognise, along with the MapIt +# generation those IDs are in. # MAPIT_ID_WHITELIST: [ 240838, 246176, 246733 ] +# MAPIT_GENERATION: 2 MAPIT_ID_WHITELIST: [] +MAPIT_GENERATION: 0 # If your MapIt has the concept of council wards (subareas of councils, where # people can sign up for alerts, but not report things), then you can give the |