--- a/app/soc/logic/models/document.py Thu Feb 26 16:51:35 2009 +0000
+++ b/app/soc/logic/models/document.py Thu Feb 26 16:52:29 2009 +0000
@@ -61,10 +61,12 @@
return ['prefix', 'scope_path', 'link_id']
- def _updateField(self, entity, name, value):
+ def _updateField(self, entity, entity_properties, name):
"""Special logic for role. If state changes to active we flush the sidebar.
"""
+ value = entity_properties[name]
+
if (name == 'is_featured') and (entity.is_featured != value):
sidebar.flush()