SIGN IN SIGN UP

fix(search): Preserve grouped aggregate filter values (#123037)

Grouped search queries now preserve their closing boolean-group
delimiter when the final filter uses an aggregate function key. The
legacy tokenizer balances unquoted parentheses, preventing comparison
values from absorbing the group delimiter and being rewritten as quoted
strings.

Quote scanning now also uses odd/even backslash parity consistently
across token splitting, filter parsing, and serialization. This
preserves grouping when a quoted filter value ends in a literal
backslash while leaving legitimate parenthesized values unchanged.
N
Nick committed
6bb5c16550cd10b3facc68cc7a8cc2bad84a7d32
Parent: 857f122
Committed by GitHub <noreply@github.com> on 8/28/2026, 7:20:24 PM