When a task is edited, 'modified_by' field is not cleared any more.
authorDaniel Hans <Daniel.M.Hans@gmail.com>
Sat, 24 Oct 2009 22:45:29 +0200
changeset 3033 8a18ac7ca909
parent 3032 f3886d1b00a5
child 3034 aa5ebb226b22
When a task is edited, 'modified_by' field is not cleared any more. Fix for issue 692.
app/soc/modules/ghop/views/models/task.py
--- a/app/soc/modules/ghop/views/models/task.py	Fri Oct 23 13:25:28 2009 -0700
+++ b/app/soc/modules/ghop/views/models/task.py	Sat Oct 24 22:45:29 2009 +0200
@@ -509,7 +509,7 @@
     if not entity:
       filter['scope'] = fields['scope']
     else:
-      filter['scope'] = entity.program
+      filter['scope'] = entity.scope
 
     role_entity = ghop_org_admin_logic.logic.getForFields(
         filter, unique=True)