server/rqlannotation.py
branchstable
changeset 2353 b11f1068a0d3
parent 2199 bd0a0f219751
child 3249 280080eadb22
--- a/server/rqlannotation.py	Thu Jul 09 14:58:55 2009 +0200
+++ b/server/rqlannotation.py	Thu Jul 09 16:14:22 2009 +0200
@@ -22,7 +22,7 @@
     has_text_query = False
     need_distinct = rqlst.distinct
     for rel in rqlst.iget_nodes(Relation):
-        if getrschema(rel.r_type).symetric:
+        if getrschema(rel.r_type).symetric and not rel.neged(strict=True):
             for vref in rel.iget_nodes(VariableRef):
                 stinfo = vref.variable.stinfo
                 if not stinfo['constnode'] and stinfo['selected']: