equal
deleted
inserted
replaced
59 """See base.Logic.getKeyFieldNames. |
59 """See base.Logic.getKeyFieldNames. |
60 """ |
60 """ |
61 |
61 |
62 return ['prefix', 'scope_path', 'link_id'] |
62 return ['prefix', 'scope_path', 'link_id'] |
63 |
63 |
64 def _updateField(self, entity, name, value): |
64 def _updateField(self, entity, entity_properties, name): |
65 """Special logic for role. If state changes to active we flush the sidebar. |
65 """Special logic for role. If state changes to active we flush the sidebar. |
66 """ |
66 """ |
|
67 |
|
68 value = entity_properties[name] |
67 |
69 |
68 if (name == 'is_featured') and (entity.is_featured != value): |
70 if (name == 'is_featured') and (entity.is_featured != value): |
69 sidebar.flush() |
71 sidebar.flush() |
70 |
72 |
71 home_for = entity.home_for |
73 home_for = entity.home_for |