Boolean scripted fields aren't handled correctly in the filter bar #28378
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Filters
Feature:Search
Querying infrastructure in Kibana
Icebox
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Kibana version: master
Elasticsearch version: master
Describe the bug:
When creating a filter on a boolean scripted field matching the value
false
the filter pill displays the full script instead of a human readable display name.The problem is that we're returning
params.value
here which incorrectly tells the phrase mapper that this is not a scripted field. At the moment I'm not sure why we're returningparams.value
so we need to look into that a bit before we'll know what the appropriate fix is.Steps to reproduce:
false
using the Add Filter UIScreenshots (if relevant):
The text was updated successfully, but these errors were encountered: