web/views/editviews.py
changeset 5557 1a534c596bff
parent 5426 0d4853a6e5ee
child 5996 c87bc42437f1
--- a/web/views/editviews.py	Thu May 20 20:47:55 2010 +0200
+++ b/web/views/editviews.py	Thu May 20 20:50:00 2010 +0200
@@ -59,9 +59,9 @@
         # them. Use fetch_order and not fetch_unrelated_order as sort method
         # since the latter is mainly there to select relevant items in the combo
         # box, it doesn't give interesting result in this context
-        rql, args = entity.unrelated_rql(rtype, etype, role,
-                                         ordermethod='fetch_order',
-                                         vocabconstraints=False)
+        rql, args = entity.cw_unrelated_rql(rtype, etype, role,
+                                            ordermethod='fetch_order',
+                                            vocabconstraints=False)
         rset = self._cw.execute(rql, args, tuple(args))
         return rset, 'list', "search-associate-content", True