Author: skabashnyuk
Date: 2010-02-09 10:16:54 -0500 (Tue, 09 Feb 2010)
New Revision: 1741
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/DescendantSelfAxisQuery.java
Log:
EXOJCR-395 : fix "||"
Modified:
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/DescendantSelfAxisQuery.java
===================================================================
---
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/DescendantSelfAxisQuery.java 2010-02-09
14:52:17 UTC (rev 1740)
+++
jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/core/query/lucene/DescendantSelfAxisQuery.java 2010-02-09
15:16:54 UTC (rev 1741)
@@ -554,7 +554,7 @@
// check if doc is a descendant of one of the context nodes
pDocs = hResolver.getParents(doc, pDocs);
- if (pDocs.length == 0 && pDocs[0] > 0) {
+ if (pDocs.length == 0 || pDocs[0] > 0) {
return false;
}
Show replies by date