Unable to clear condition from Knowledge Result Sort Widget


Description

On KB portal ,select any value from the Knowledge Field Facet. For example under Category select anything the header of the result facet correctly changes to "X Result" followed by "Showing category" with an "x" behind it.
So from a user standpoint we can now clear this value.
Now If on a new search I type in "test" in the search bar and hit the magnifying glass. The banner now reads different number of results for test, there is no x behind it, or below it So unable to clear search.

Cause

Expected and working as designed.

Resolution

I see the same behavior OOB as well
What you are performing is a 'Knowledge Search' which in your case is custom "U knowledge Homepage Search" , however the underlying functionality remains the same wherein you do not have clear the value because you can type in or perform a fresh search from knowledge search.

This is described here - https://docs.servicenow.com/bundle/paris-servicenow-platform/page/product/knowledge-management/task/config-search-widget-options.html#config-search-widget-options

However for the knowledge field facet, described here - https://docs.servicenow.com/bundle/paris-servicenow-platform/page/product/knowledge-management/task/config-search-results-filter-facets.html#config-search-results-filter-facets

We provide the option to cross the results as results as its based on various options like knowledge base, category etc