Skip to content

Between

The BetweenFilter can be used to filter in a range between two values. It works on any type that can be compared using ">=" and "<=" in the database query.

label_from

type: string|null

The label for the field where the user can set the lower value of the range. It will be translated over the translation service automatically. (See translation_domain) If not set, the value of label will be used. If that one is also null, no label will be displayed.

yaml
columns:
    myFilter:
        label_from: myRange from

label_to

type: string|null

The label for the field where the user can set the lower value of the range. If not set, the value of label will be used. If that one is also null, no label will be displayed. It will be translated over the translation service automatically. (See translation_domain)

yaml
columns:
    myFilter:
        label_to: to

label

type: string|null

The label of the filter in the filter dropdown. If not set, the value of label_from will be used. It will be translated over the translation service automatically. (See translation_domain)

yaml
columns:
    myFilter:
        label: myLabel