How To
Documentation
    Learn More

      search:filter

      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
      fieldstring

      The field the filter applies to.

      valuestring

      The value to apply to the field

      optional
      (optional)
      boolean

      If the filter is optional (or)

      exclude
      (optional)
      boolean

      If the filter should exclude values matching this filter.

      hidden
      (optional)
      boolean

      Whether the filter should be hidden (visible in breadcrumbs and URLs) or not.