We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2bc325d + 183188f commit 767ce26Copy full SHA for 767ce26
mapswipe_workers/mapswipe_workers/generate_stats/overall_stats.py
@@ -68,7 +68,10 @@ def get_project_static_info(filename: str) -> pd.DataFrame:
68
,created
69
-- Custom options values
70
,CASE
71
- WHEN project_type_specifics->'customOptions' IS NOT NULL
+ WHEN (
72
+ project_type_specifics->'customOptions' IS NOT NULL AND
73
+ (project_type_specifics->'customOptions')::TEXT != 'null'::TEXT
74
+ )
75
THEN -- thus if we have answer labels use them
76
(project_type_specifics->'customOptions')::TEXT
77
ELSE -- otherwise use below label range as the mapswipe app default
0 commit comments