issues
search
TryGhost
/
NQL
MIT License
4
stars
8
forks
source link
🐛 Fixed not-equal filters when combined with others
#88
Closed
sagzy
closed
1 month ago
sagzy
commented
1 month ago
ref
https://linear.app/tryghost/issue/ENG-1466
when applying two or more "unsubscribed from newsletter" filters, NQL would skip the entire filter
the root cause of that bug is a recent optimisaton around combining multiple "not equal" filters into a single "not in" array
with this fix, we apply a few safeguards to the optimisation, so that we can fallback safely when the optimisation is not applicable
ref https://linear.app/tryghost/issue/ENG-1466