> For the complete documentation index, see [llms.txt](https://changelog.airship.co.uk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.airship.co.uk/january-2025/30-01-2025-date-trigger-bug-fix.md).

# 30/01/2025 Date Trigger Bug Fix

:date: Exclude contacts with booking in last X days Doesn't Work

1. The error occurs due to a missing booking/pop table join in the query. When the booking/pop date type trigger for a broadcast is updated, the query fails because it lacks the required booking/pop table join.
2. Refactored the Simple Query to ensure that all relevant tables are included in the join within the contact query. (booking and pop\_cache)
3. Handle the validation error message for contact query missing date interval part when the query is failed on testing query.

\
:man\_technologist: Mya
