web/formfields.py
changeset 7973 64639bc94e25
parent 7894 ad0eeb0f7a8d
child 7990 a673d1d9a738
--- a/web/formfields.py	Thu Oct 20 14:22:16 2011 +0200
+++ b/web/formfields.py	Thu Oct 20 16:03:51 2011 +0200
@@ -1107,8 +1107,8 @@
             done = set()
         res = []
         entity = form.edited_entity
-        for entity in entity.unrelated(self.name, targettype,
-                                       self.role, limit).entities():
+        for entity in entity.unrelated(self.name, targettype, self.role, limit,
+                                       lt_infos=form.linked_to).entities():
             if entity.eid in done:
                 continue
             done.add(entity.eid)