Skip Navigation

Multiselect search filter is created with the wrong comparison mode

Open

Reported for: Toolset Views 2.4.1

Topic Tags: Views plugin

Symptoms

When adding a front-end search filter by a custom field and selecting to display it as a multiselect control, the associated query filter is created with a comparison of equal to. Because of this, when selecting more than one option, the search value is wrong and no results are returned.

Workaround

This issue will be fixed in the upcoming version of Toolset Views, and there is no patch for it.

However, as a workaround, you can simply edit the associated query filter and make sure that its settings state that:

  • The field XXX is a string that is IN the following: URL parameter YYY.

Leave
a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>