app/soc/views/models/notification.py
changeset 2161 3b5e0e0880cd
parent 2076 1cd180cc56c9
child 2164 94e498e3dd44
--- a/app/soc/views/models/notification.py	Sat Apr 11 22:58:19 2009 +0000
+++ b/app/soc/views/models/notification.py	Sat Apr 11 22:58:57 2009 +0000
@@ -195,7 +195,7 @@
         self._logic.updateEntityProperties(entity, {'unread' : False} )
 
     context['entity_type_url'] = self._params['url_name']
-    context['entity_suffix'] = self._logic.getKeySuffix(entity)
+    context['entity_suffix'] = entity.key().id_or_name()
 
     return True