Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archive_unless_directed doesn't work properly with otherwise #32

Open
doy-stripe opened this issue Jan 3, 2020 · 0 comments
Open

archive_unless_directed doesn't work properly with otherwise #32

doy-stripe opened this issue Jan 3, 2020 · 0 comments

Comments

@doy-stripe
Copy link

filter {
  has ["foo", "bar"]
  label "a"
}.otherwise {
  has ["foo"]
  label "b"
}.archive_unless_directed

produces a query like foo -{(to:me bar)} (for the archive_unless_directed filter), but i would expect it to produce something like foo -{(to:me OR bar)} since i want to skip archiving if it's either addressed to me or if bar matches. or is there a better way to accomplish what i'm doing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant