Support numeric between operator

Created on 21 November 2024, about 2 months ago

Problem/Motivation

When using an exposed numeric filter with 'between' operator, the filter is not shown in the filter summary.

Steps to reproduce

Add an exposed filter for a numeric field. Select 'between' as the operator. Go to the frontend and filter on these values. The filter summary does not include the numeric field.

Proposed resolution

Add support for the numeric field 'between' operator. Add a single filter item in the summary with the 2 values seperated by a dash (-).
For example;
Filter between 1 and 10, filter shows: 1-10

Remaining tasks

Support for all operators? We might need to think about how this should work for every operator (altough, most operators are easy, for example add '<' or '>' before the value in the filter summary).

User interface changes

Filter between 1 and 10, filter shows: 1-10

API changes

-

Data model changes

-

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇧🇪Belgium pietermouton

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024