From 9ffbc0bd40ea86f112e8681fdb4dc3af1f37725d Mon Sep 17 00:00:00 2001 From: conradverm Date: Tue, 23 Oct 2007 22:19:54 +0000 Subject: [PATCH] KTS-673 "The search algorithm needs some work" Updated. Negative results not displayed correctly. --- search2/search/expr.inc.php | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/search2/search/expr.inc.php b/search2/search/expr.inc.php index 16f57be..4d6a6f8 100755 --- a/search2/search/expr.inc.php +++ b/search2/search/expr.inc.php @@ -1646,6 +1646,10 @@ class OpExpr extends Expr if (is_null($this->parent)) { + if ($this->not()) + { + $expr = "NOT $expr"; + } return $expr; } -- libgit2 0.21.4