diff --git a/api/api.py b/api/api.py
index e34086c..47a452f 100644
--- a/api/api.py
+++ b/api/api.py
@@ -212,7 +212,7 @@ def make_filter_query(filter):
else:
parameter = sql.SQL("CAST({parameter} AS {cast})").format(parameter=parameter, cast=sql.SQL(subfilter['cast']))
- if 'value' not in subfilter or subfilter['value'] == '':
+ if subfilter['comparison'] == 'is null' or subfilter['comparison'] == 'is not null':
filter_query = sql.SQL("{filter_query} ({parameter} {comparison})").format(filter_query=filter_query, parameter=parameter, comparison=sql.SQL(subfilter['comparison']))
else:
if subfilter['comparison'] == 'starts with':
diff --git a/frontend/src/components/FeatureCustom.vue b/frontend/src/components/FeatureCustom.vue
index 8d19bfe..2434623 100644
--- a/frontend/src/components/FeatureCustom.vue
+++ b/frontend/src/components/FeatureCustom.vue
@@ -24,8 +24,21 @@
v-model="f.parameter"
:items="$store.state.osmKeys"
@input="getValues"
- >
+ >
+
+
+ mdi-open-in-new
+
+
Add condition
- Add custom feature
diff --git a/frontend/src/components/SearchResult.vue b/frontend/src/components/SearchResult.vue
index 3db35e4..03c7340 100644
--- a/frontend/src/components/SearchResult.vue
+++ b/frontend/src/components/SearchResult.vue
@@ -25,18 +25,12 @@
-
({{ result.lat.toFixed(5) }}, {{ result.lng.toFixed(5) }})
-