web/views/editcontroller.py
changeset 4249 222fbf826604
parent 4231 d55cac808b08
child 4252 6c4f109c2b03
--- a/web/views/editcontroller.py	Mon Jan 18 11:55:37 2010 +0100
+++ b/web/views/editcontroller.py	Mon Jan 18 12:33:45 2010 +0100
@@ -202,7 +202,7 @@
                         origvalues = set()
                     if value is None or value == origvalues:
                         continue # not edited / not modified / to do later
-                    if rschema.inlined and rqlquery is not None:
+                    if rschema.inlined and rqlquery is not None and field.role == 'subject':
                         self.handle_inlined_relation(form, field, value, origvalues, rqlquery)
                     elif form.edited_entity.has_eid():
                         self.handle_relation(form, field, value, origvalues)