Skip to content

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

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions