Return all rows containing any of the words in a string

Return all rows containing any of the words in a string

maxstralinmaxstralin Posts: 1Questions: 1Answers: 0

Hi. First of: amazing plugin.

I've "hacked" the search functionality to let the user select tags which then would populate the search box, each tag separated by a space.
I'd like to return all rows containing any of the strings instead of rows containing all the strings, would that be possible?

Answers

  • allanallan Posts: 63,871Questions: 1Answers: 10,522 Site admin

    Hi,

    You could use a regular expression with its OR operator (|) for this. The search() method lets you do a regex search.

    Allan

This discussion has been closed.