entity.py
changeset 11047 bfd11ffa79f7
parent 10997 da712d3f0601
child 11109 c361260fe191
--- a/entity.py	Mon Dec 21 10:36:08 2015 +0100
+++ b/entity.py	Fri Dec 18 17:49:45 2015 +0100
@@ -378,7 +378,7 @@
                 else:
                     fetchattrs = etypecls.fetch_attrs
                 etypecls._fetch_restrictions(var, select, fetchattrs,
-                                             user, ordermethod, visited=visited)
+                                             user, None, visited=visited)
             if ordermethod is not None:
                 try:
                     cmeth = getattr(cls, ordermethod)