server/querier.py
branchstable
changeset 6129 fea746b60093
parent 6128 fbb8398f80dc
child 6142 8bc6eac1fac1
child 6361 843684a50e48
equal deleted inserted replaced
6128:fbb8398f80dc 6129:fea746b60093
   433         for mainvarname, rschema, newvarname in insertedvars:
   433         for mainvarname, rschema, newvarname in insertedvars:
   434             nvartype = str(rschema.objects(solutions[0][mainvarname])[0])
   434             nvartype = str(rschema.objects(solutions[0][mainvarname])[0])
   435             for sol in solutions:
   435             for sol in solutions:
   436                 sol[newvarname] = nvartype
   436                 sol[newvarname] = nvartype
   437         select.clean_solutions(solutions)
   437         select.clean_solutions(solutions)
       
   438         add_types_restriction(self.schema, select)
   438         self.rqlhelper.annotate(rqlst)
   439         self.rqlhelper.annotate(rqlst)
   439         self.preprocess(rqlst, security=False)
   440         self.preprocess(rqlst, security=False)
   440         return rqlst
   441         return rqlst
   441 
   442 
   442 
   443