Search custom field 1 OR custom field 2
Hi Low,
Thank for your answer 2 topics I have posted, I am trying another way.
Is Low Search support search mode = OR with multi custom fields?
{exp:low_search:results search:title="abc" search:sender_id="=123" ...}
I want a parameter something like:
search_field_mode="title|sender_id"
to point Low Search will searching in "title" or "sender_id".
Thank!
P/S: I try using condition in tags but not luck.
Replies
Low 9 Oct 2015 08:29
Something like this has been requested before, and I've explored the option extensively. My conclusion: not possible out of the box.
Main reason being that this goes against EE's way of handling parameters, where all params are ALWAYS combined with AND, not OR.
Combining params with OR would be very tricky to do, especially when you want to combine different filters with OR, eg. keywords="foo" OR search:title="bar".
Instead, you'd have to create a custom filter for specific OR searches like that.
ngoncom 10 Oct 2015 02:45
Thank for explanation!