1

Is there a way to use Wildcards (like *) in Views filters. I do not want to give the user the dropdown with all the operators but use a wildcard.
For example, when he writes name it will use "ends with", on name "begins with", on name "contains" and so on. Is there something out there that can do that, or do I have to write it on my own?

3

1 Answer 1

0

Rather than filtering on a certain field (and then exposing the filter), try adding a filter of the type 'Search terms'. That uses drupal's search module to search, which has much smarter ways of searching.

enter image description here

1
  • It seems like I can't use "search terms" in my commerce products view or I can't find it :(
    – Andi
    Aug 6, 2014 at 8:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.