show last 30 days, not last 7 in very recent applications

This commit is contained in:
Mateusz Konieczny 2022-11-09 08:04:21 +01:00
parent ffe43dbd38
commit a679054a0d
2 changed files with 7 additions and 7 deletions

View File

@ -446,32 +446,32 @@
</Style> </Style>
<Style name="planning_applications_status_very_recent"> <Style name="planning_applications_status_very_recent">
<Rule> <Rule>
<Filter>[status] = "Submitted" and [days_since_registered_with_local_authority_date] &lt;= 7</Filter> <Filter>[status] = "Submitted" and [days_since_registered_with_local_authority_date] &lt;= 30</Filter>
<PolygonSymbolizer fill="#53f5dd"/> <PolygonSymbolizer fill="#53f5dd"/>
<LineSymbolizer stroke="#53f5dd" stroke-width="1.75" /> <LineSymbolizer stroke="#53f5dd" stroke-width="1.75" />
</Rule> </Rule>
<Rule> <Rule>
<Filter>[status] = "Approved" and [days_since_decision_date] &lt;= 7</Filter> <Filter>[status] = "Approved" and [days_since_decision_date] &lt;= 30</Filter>
<PolygonSymbolizer fill="#16cf15"/> <PolygonSymbolizer fill="#16cf15"/>
<LineSymbolizer stroke="#16cf15" stroke-width="1.75" /> <LineSymbolizer stroke="#16cf15" stroke-width="1.75" />
</Rule> </Rule>
<Rule> <Rule>
<Filter>[status] = "Appeal In Progress" and [days_since_decision_date] &lt;= 7</Filter> <Filter>[status] = "Appeal In Progress" and [days_since_decision_date] &lt;= 30</Filter>
<PolygonSymbolizer fill="#fff200"/> <PolygonSymbolizer fill="#fff200"/>
<LineSymbolizer stroke="#fff200" stroke-width="1.75" /> <LineSymbolizer stroke="#fff200" stroke-width="1.75" />
</Rule> </Rule>
<Rule> <Rule>
<Filter>[status] = "Rejected" and [days_since_decision_date] &lt;= 7</Filter> <Filter>[status] = "Rejected" and [days_since_decision_date] &lt;= 30</Filter>
<PolygonSymbolizer fill="#e31d23"/> <PolygonSymbolizer fill="#e31d23"/>
<LineSymbolizer stroke="#e31d23" stroke-width="1.75" /> <LineSymbolizer stroke="#e31d23" stroke-width="1.75" />
</Rule> </Rule>
<Rule> <Rule>
<Filter>[status] = "Withdrawn" and [days_since_registered_with_local_authority_date] &lt;= 7</Filter> <Filter>[status] = "Withdrawn" and [days_since_registered_with_local_authority_date] &lt;= 30</Filter>
<PolygonSymbolizer fill="#999999"/> <PolygonSymbolizer fill="#999999"/>
<LineSymbolizer stroke="#999999" stroke-width="1.75" /> <LineSymbolizer stroke="#999999" stroke-width="1.75" />
</Rule> </Rule>
<Rule> <Rule>
<Filter>[status] != "Submitted" and [status] != "Approved" and [status] != "Appeal In Progress" and [status] != "Rejected" and [status] != "Withdrawn" and [days_since_registered_with_local_authority_date] &lt;= 7</Filter> <Filter>[status] != "Submitted" and [status] != "Approved" and [status] != "Appeal In Progress" and [status] != "Rejected" and [status] != "Withdrawn" and [days_since_registered_with_local_authority_date] &lt;= 30</Filter>
<PolygonSymbolizer fill="#eacad0"/> <PolygonSymbolizer fill="#eacad0"/>
<LineSymbolizer stroke="#eacad0" stroke-width="1.75" /> <LineSymbolizer stroke="#eacad0" stroke-width="1.75" />
</Rule> </Rule>

View File

@ -199,7 +199,7 @@ export const categoryMapsConfig: {[key in Category]: CategoryMapDefinition[]} =
{ {
mapStyle: 'planning_applications_status_very_recent', mapStyle: 'planning_applications_status_very_recent',
legend: { legend: {
title: 'Submissions/decisions in last 7 days', title: 'Submissions/decisions in last 30 days',
elements: [ elements: [
{ color: '#53f5dd', text: 'Submitted, awaiting decision' }, { color: '#53f5dd', text: 'Submitted, awaiting decision' },
{ color: '#fff200', text: 'Appeal In Progress' }, { color: '#fff200', text: 'Appeal In Progress' },