mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-08-19 09:13:24 +00:00
A prior commit deleted test_query.py's parametrized "doesn't raise" coverage for this shape (created:[...T...Z TO ...] and comma-combined ranges), which was also the only place PR #13010's T/Z backward-compat guarantee was exercised. Nothing in paperless's suite proved the full parse_user_query() -> tantivy Query -> matched-document pipeline still honors it after the whoosh-compat grammar fix (commit f936143 in the whoosh-compat repo). Add result-level acceptance cases: an in/out-of-range T/Z bracket range, PR #13010's original comma-combined two-field shape, and an exact-boundary case proving a Z-suffixed bound is absolute UTC, not shifted by the local search timezone. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RVj8NFy821G3YhNf68PF6X