Fix SearchFilters not adding "NOT" filters

This commit is contained in:
Sebastiaan Janssen
2016-09-04 20:11:57 +02:00
parent b76dfce24e
commit b2880f2b28
+3 -1
View File
@@ -51,7 +51,9 @@ namespace OurUmbraco.Our.Examine
//a filter can return a true lucene query, if there is one use it, otherwise parse it's string format
var luceneQueryObj = filter.GetLuceneQuery();
bQuery.Add(luceneQueryObj ?? queryParser.Parse(filter.ToString()), BooleanClause.Occur.MUST_NOT);
}
}
luceneSearchCriteria.LuceneQuery(bQuery);
}
}
}