fix last year map display
fixes https://github.com/colouring-cities/colouring-core/issues/12
This commit is contained in:
parent
dc82fef4ab
commit
5dc71a4194
@ -154,8 +154,8 @@ const LAYER_QUERIES = {
|
|||||||
INNER JOIN buildings ON building_properties.building_id = buildings.building_id`,
|
INNER JOIN buildings ON building_properties.building_id = buildings.building_id`,
|
||||||
planning_applications_status_recent: `SELECT
|
planning_applications_status_recent: `SELECT
|
||||||
buildings.geometry_id, building_properties.uprn, building_properties.building_id, planning_data.status AS status, planning_data.uprn,
|
buildings.geometry_id, building_properties.uprn, building_properties.building_id, planning_data.status AS status, planning_data.uprn,
|
||||||
1 AS days_since_decision_date,
|
planning_data.days_since_decision_date_cached AS days_since_decision_date,
|
||||||
1 AS days_since_registered_with_local_authority_date
|
planning_data.days_since_registration_cached AS days_since_registered_with_local_authority_date
|
||||||
FROM building_properties
|
FROM building_properties
|
||||||
INNER JOIN planning_data ON building_properties.uprn = planning_data.uprn
|
INNER JOIN planning_data ON building_properties.uprn = planning_data.uprn
|
||||||
INNER JOIN buildings ON building_properties.building_id = buildings.building_id`,
|
INNER JOIN buildings ON building_properties.building_id = buildings.building_id`,
|
||||||
|
Loading…
Reference in New Issue
Block a user