equal
deleted
inserted
replaced
1116 # retrieve entity class for targettype to compute base rql |
1116 # retrieve entity class for targettype to compute base rql |
1117 etypecls = self._cw.vreg['etypes'].etype_class(targettype) |
1117 etypecls = self._cw.vreg['etypes'].etype_class(targettype) |
1118 etypecls.fetch_rqlst(self._cw.user, select, searchedvar, |
1118 etypecls.fetch_rqlst(self._cw.user, select, searchedvar, |
1119 ordermethod=ordermethod) |
1119 ordermethod=ordermethod) |
1120 # from now on, we need variable type resolving |
1120 # from now on, we need variable type resolving |
1121 self._cw.vreg.solutions(self._cw, select, args) |
1121 self._cw.vreg.compute_var_types(self._cw, select, args) |
1122 # insert RQL expressions for schema constraints into the rql syntax tree |
1122 # insert RQL expressions for schema constraints into the rql syntax tree |
1123 if vocabconstraints: |
1123 if vocabconstraints: |
1124 cstrcls = (RQLVocabularyConstraint, RQLConstraint) |
1124 cstrcls = (RQLVocabularyConstraint, RQLConstraint) |
1125 else: |
1125 else: |
1126 cstrcls = RQLConstraint |
1126 cstrcls = RQLConstraint |