hooks/notification.py
changeset 9006 e4ea8f9ffa11
parent 8968 c05515db2763
child 9267 24d9b86dfa54
--- a/hooks/notification.py	Thu Jun 13 12:03:59 2013 +0200
+++ b/hooks/notification.py	Thu Jun 13 12:01:23 2013 +0200
@@ -158,7 +158,8 @@
             view = session.vreg['views'].select('notif_entity_updated', session,
                                                 rset=session.eid_rset(eid),
                                                 row=0)
-            notify_on_commit(self.session, view)
+            notify_on_commit(self.session, view,
+                    viewargs={'changes': session.transaction_data['changes'][eid]})
 
 
 class EntityUpdateHook(NotificationHook):