diff --git a/Logic/FeatureSource/Sources/FilteringFeatureSource.ts b/Logic/FeatureSource/Sources/FilteringFeatureSource.ts index a6fcee559f..9495e33255 100644 --- a/Logic/FeatureSource/Sources/FilteringFeatureSource.ts +++ b/Logic/FeatureSource/Sources/FilteringFeatureSource.ts @@ -88,7 +88,6 @@ export default class FilteringFeatureSource implements FeatureSourceForLayer, Ti } const tagsFilter = layer.appliedFilters.data; - console.log("Current filters for "+layer.layerDef.id+" are ",tagsFilter) for (const filter of tagsFilter ?? []) { const neededTags = filter.filter.options[filter.selected].osmTags if (!neededTags.matchesProperties(f.feature.properties)) { diff --git a/assets/themes/notes/notes.json b/assets/themes/notes/notes.json index 9685a59a66..2649a7efe1 100644 --- a/assets/themes/notes/notes.json +++ b/assets/themes/notes/notes.json @@ -100,6 +100,22 @@ } } ] + }, + { + "id": "not", + "options": [ + { + "osmTags": "_first_comment!~.*{search}.*", + "fields": [ + { + "name": "search" + } + ], + "question": { + "en": "Should not mention {search} in the first comment" + } + } + ] } ] }