From e1e8328c055d983cf3996daf3d35e75e05e08340 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Fri, 10 Jun 2022 15:25:44 +0100 Subject: [PATCH] use date_year --- app/src/tiles/dataDefinition.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/tiles/dataDefinition.ts b/app/src/tiles/dataDefinition.ts index 973bd79b..07060d09 100644 --- a/app/src/tiles/dataDefinition.ts +++ b/app/src/tiles/dataDefinition.ts @@ -93,7 +93,8 @@ const LAYER_QUERIES = { case when builder IS NULL then 0 else 1 end + case when builder_source_link IS NULL then 0 else 1 end + case when other_team IS NULL then 0 else 1 end + - case when other_team_source_link IS NULL then 0 else 1 end + case when other_team_source_link IS NULL then 0 else 1 end + + case when date_year IS NULL then 0 else 1 end ) AS team_info_count FROM buildings`,