• Resolved kida18

    (@kida18)


    Hi there,
    This is a great plugin! However I’m looking for a way to add conditioning filtering in my searches. At the moment, I have 4 fields searchable but there is no AND connection between them, only OR. I’m not a developer but I believe this is called the Boolean relationship between the queries?
    For instance, I can’t search all the users that live in California AND have a dog, I can only see all the users that live in California OR have a dog.
    I found other plugins which includes that type of conditions but they are not compatible with buddypress fields (or not all at least) : Ultimate WP Query Search Filter and AJAX Search Pro.

    Is this something that you would consider developing in the future? Or would there be an easy way for me to alter the code to include this boolean relationship?

    For information, I’d be ready to pay to see such a plugin, I have checked everywhere and it doesn’t seem to exist as of yet.

    Thanks in advance

    https://wordpress.org/plugins/bp-profile-search/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andrea Tarantini

    (@dontdream)

    Hi kida18,

    BP Profile Search works only with AND conditions, that is it finds all the users that live in California AND have a dog AND match all the other conditions in your search form.

    Isn’t this what you need? Please feel free to add more details if I haven’t understood your question correctly.

    Thread Starter kida18

    (@kida18)

    Hey Andrea,
    Yes it works! Yesterday when I tested it, it was showing me results based on a OR search only. Strange.
    Thanks for answering so fast

    Plugin Author Andrea Tarantini

    (@dontdream)

    You are welcome! Please come back here if you can reproduce your original issue.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘conditional search’ is closed to new replies.