web/box.py
changeset 5927 654a34e4eb2e
parent 5426 0d4853a6e5ee
child 5949 2a273c896a38
--- a/web/box.py	Wed Jul 07 13:58:21 2010 +0200
+++ b/web/box.py	Wed Jul 07 14:18:28 2010 +0200
@@ -224,8 +224,8 @@
         """returns the list of unrelated entities, using the entity's
         appropriate vocabulary function
         """
-        skip = set(e.eid for e in entity.related(self.rtype, get_role(self),
-                                                 entities=True))
+        skip = set(unicode(e.eid) for e in entity.related(self.rtype, get_role(self),
+                                                          entities=True))
         skip.add(None)
         skip.add(INTERNAL_FIELD_VALUE)
         filteretype = getattr(self, 'etype', None)