I read in the comment of template-function of getSearchWords() that "If tokens are separated by spaces, the OR function is presumed." That means putting space will be the same as , and | correct?
If that's not what it meant, how do I make it so when there's a space in the search field it's recognized as , and |
Like for this picture I tagged it as Tom, Smith and the title is Tom Smith. But when I type in "Smith Tom" it didn't show result, but if I do Smith, Tom it shows.
I know a little bit of php so I'll try to mess my way around in the mean time.
Thanks for any help!
Douten
Comments
Is there a way I can split the string at space characters so they can be read as two string? Like is I type "Smith Tim" the search will read it as "Smith|Tim".
This will require learning on my part right? I'll go look at some php tutorials.
As I said, the document you found was not correct. Space is NOT the same as OR.
Thanks~ : )
-Rachel