Skip to content

archive_unless_directed doesn't work properly with otherwise #32

@doy-stripe

Description

@doy-stripe
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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions