mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 18:08:25 +00:00
Reduce not expressions
Fixes queries containing macros inside a "not".
This commit is contained in:
@ -31,7 +31,7 @@ object ExprUtil {
|
||||
case DirectionExpr(flag) =>
|
||||
DirectionExpr(!flag)
|
||||
case _ =>
|
||||
expr
|
||||
NotExpr(reduce(inner))
|
||||
}
|
||||
|
||||
case m: MacroExpr =>
|
||||
|
Reference in New Issue
Block a user