mirror of
https://github.com/trailbaseio/trailbase.git
synced 2025-12-30 22:29:47 -06:00
Previously, applying multiple filters to the same column (e.g., $gte and $lte for date ranges) would fail because the filter parsing logic only handled single operators per column. This commit modifies the filter parsing to detect when multiple operators are applied to the same column and automatically converts them into an AND composite filter. This enables common use cases like filtering records within a date range: - filter[date][$gte]=2025-01-01&filter[date][$lte]=2025-12-31 The fix is applied to parsing paths in filter.rs and includes a test to verify the behavior.
TrailBase Website & Documentation
This directory contains the https://trailbase.io site.