Skip to main content

Description

This has been deprecated see Query Filter. The filter directive can be used to add a filter to the query.

Usage

as element:
<search:filter
       field="{string}"
       value="{string}"
       [optional="{boolean}"]
       [exclude="{boolean}"]
       [hidden="{boolean}"]>
</search:filter>

Parameters

ParamTypeDetails
fieldstringThe field the filter applies to.
valuestringThe value to apply to the field
optional (optional)booleanIf the filter is optional (or)
exclude (optional)booleanIf the filter should exclude values matching this filter.
hidden (optional)booleanWhether the filter should be hidden (visible in breadcrumbs and URLs) or not.