searchit icon indicating copy to clipboard operation
searchit copied to clipboard

Question: fulltext search on matrix field, different from entry cp search?

Open ghost opened this issue 6 years ago • 0 comments

I'm trying to create a filter for the search query: productDescription:sometext. This works fine in the default searchbar, but when using Searchit with this twig:

{{ ({
        filter: {
            {# same result with '*sometext*' #}
            productDescription: 'sometext'
        },
        label: "My Label"
    })|json_encode()
}}

productDescription is a matrix field with a redactor field with the handle text in which it should search.

Should I use a different syntax in this case? Thanks.

ghost avatar Aug 15 '19 08:08 ghost