Hi,

I have two exposed full text search views filters. I want to give the user the ability to search text "containing all of these words" and "none of these words". However, what is weird that whenever the none of these words filter is used to increases the number of the returned search results instead of decreasing them and doesn't actually eliminate the results with the words mentioned.

Thanks.

Comments

drunken monkey’s picture

Status: Active » Needs review
StatusFileSize
new2.52 KB

Ah, you're right, thanks for reporting! It seems we currently don't handle it cleanly enough if more than one "Search: Fulltext search" filter is present.
The attached patch should fix this.
(Note: If you're using Solr you will also need the patch from #2290601: Fix handling of complex keywords and OR facets, though.)

drunken monkey’s picture

Could you please test whether the patch works for you?

drunken monkey’s picture

OK, then I just hope it works.
Committed.

  • drunken monkey committed b283150 on 7.x-1.x
    Issue #2278737 by drunken monkey: Fixed use of multiple Views fulltext...
drunken monkey’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.